Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
Webkungen
byWebkungen, October 15, 2013
Hi!
Tried out this and it seems to work fine. One problem though.. When I define the command like this:
command[check_mpoints]=/usr/lib/nagios/plugins/check_mountpoints.sh -a -w
And run:
/usr/lib/nagios/plugins/check_nrpe -H localhost -c check_mpoints
I'm getting "CRITICAL: /mnt/nfs/path/to/folder/.mount_test_from_hostname is not writable."
If I run it without nrpe, i.e.: /usr/lib/nagios/plugins/check_mountpoints.sh -a -w it's working fine.
Why is that? Issue with permission for the user Nagios?
Thanks,
Tried out this and it seems to work fine. One problem though.. When I define the command like this:
command[check_mpoints]=/usr/lib/nagios/plugins/check_mountpoints.sh -a -w
And run:
/usr/lib/nagios/plugins/check_nrpe -H localhost -c check_mpoints
I'm getting "CRITICAL: /mnt/nfs/path/to/folder/.mount_test_from_hostname is not writable."
If I run it without nrpe, i.e.: /usr/lib/nagios/plugins/check_mountpoints.sh -a -w it's working fine.
Why is that? Issue with permission for the user Nagios?
Thanks,
Owner's reply
Yes, this seems to be the problem. If the nrpe users has no write permissions, the writetest will fail.