Links to Nagios Plugins
To monitor memcached using nagios.
Error : DISK CRITICAL check_disk : / / / is not accessible: Permission denied
In my case this is because it is mounted as postgres user.
Which eventually does not allow other user (nrpe or nagios) to check the disk.
So i have copied the command as diff. name and set the SUID bit on the check command.
cd /usr/lib64/nagios/plugins/ cp check_disk check_disk_pg chmod +s check_disk_pg