Random Project

Not writable?

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,