Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Nagios has alerted that it doesn't have access or permission to a backup directory with a custom python_client plugin that my previous sysadmin has developed.
Oct 16 00:00:00 monitor nagios: CURRENT SERVICE STATE: backup.system.local;PYBACKUP;CRITICAL;HARD;2;"Unknown [Errno 13] Permission denied: /backup/latest
After rescheduling the next check for pybackup, /var/log/messages shows:
Have you verified all the files their permissions exist in the directory the way the script would expect? What does the drive space look like?
If you're familiar with python you could update the script to log or return more useful information to track down where it is failing - what command did it fail on, which user is it running against, do the files exist, etc..
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.