- Verified that the /etc/php.ini settings were configured as mentioned in this article: http://support.nagios.com/wiki/index.ph ... leshooting
- Verified the age of the password of my nagios user: sudo chage -l nagios
Last password change : May 19, 2013
Password expires : never
Password inactive : never
Account expires : Jan 20, 11761191
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
- Verified that the permissions on the /usr/local/nagiosxi folder structure were set properly based on this forum entry: http://support.nagios.com/forum/viewtop ... =6&t=21972
- Verified that crond was running
- Attempted restarting crond just for good measure
- Attempted to run crontab -l as nagios user <~~~~SPARK OF BRILLIANCE
This lead me to look in the /var/log/cron file for errors which showed this:
Apr 28 15:56:01 atxentlnag-p01 crond[1706]: (nagios) FAILED to authorize user with PAM (Permission denied)
In order to fix this, I added the nagios user to /etc/cron.allow and edited /etc/pam.d/crond to include the following line:
account sufficient pam_listfile.so item=user sense=allow file=/etc/cron.allow onerr=succeed
Then I restarted crond, and voila, Nagios XI (via CCM) can now apply configuration.
Happy Monitoring!