Closed exeral closed 6 years ago
https://github.com/sensu-plugins/sensu-plugins-disk-checks/issues/65
if Filesystem.mounts fails: Permission denied - setmntent the checks exits critical
Filesystem.mounts
this PR enclose the call in begin/rescue to exit unknown instead of critical when the call fails to retrieve mountpoints.
Thanks for your contribution to Sensu plugins! Without people like you submitting PRs we couldn't run the project. I will review it shortly.
released: https://rubygems.org/gems/sensu-plugins-disk-checks/versions/2.5.1
Pull Request Checklist
https://github.com/sensu-plugins/sensu-plugins-disk-checks/issues/65
General
if
Filesystem.mounts
fails: Permission denied - setmntent the checks exits criticalthis PR enclose the call in begin/rescue to exit unknown instead of critical when the call fails to retrieve mountpoints.