This shows you the differences between two versions of the page.
nagios [2011/12/13 20:06] k2patel |
nagios [2020/08/10 02:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Nagios ====== | ||
- | //Monitoring Servers// | ||
- | |||
- | |||
- | ===== Nagios Plugins ===== | ||
- | //Links to Nagios Plugins// | ||
- | |||
- | === Memcached === | ||
- | To monitor memcached using nagios.\\ | ||
- | [[http://cpan.uwinnipeg.ca/dist/Nagios-Plugins-Memcached | check_memcached]] | ||
- | |||
- | |||
- | ===== Error / Resolution ===== | ||
- | === CASE : === | ||
- | **Error :** | ||
- | DISK CRITICAL check_disk : / / / is not accessible: Permission denied | ||
- | |||
- | **Solution :** | ||
- | In my case this is because it is mount point and is mounted as postgres user.\\ | ||
- | Which eventually does not allow other user to check the disk.\\ | ||
- | So i have copied the command as diff. name and set the SUID bit on the check command.\\ | ||
- | |||
- | <code bash> | ||
- | cd /usr/lib64/nagios/plugins/ | ||
- | cp check_disk check_disk_pg | ||
- | chmod +s check_disk_pg | ||
- | </code> | ||
- | |||
- | Voila...!! | ||