nagios
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nagios [2010/02/03 00:03] – k2patel | nagios [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| To monitor memcached using nagios.\\ | To monitor memcached using nagios.\\ | ||
| [[http:// | [[http:// | ||
| + | |||
| + | |||
| + | ===== Error / Resolution ===== | ||
| + | === CASE 1 : === | ||
| + | **Error :** | ||
| + | DISK CRITICAL check_disk : / / / is not accessible: Permission denied | ||
| + | |||
| + | **Solution :** | ||
| + | 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.\\ | ||
| + | |||
| + | <code bash> | ||
| + | cd / | ||
| + | cp check_disk check_disk_pg | ||
| + | chmod +s check_disk_pg | ||
| + | </ | ||
| + | |||
| + | Voila...!! | ||
| + | |||
nagios.1265155432.txt.gz · Last modified: 2020/08/10 02:30 (external edit)
