Let's try changing the permissions of "autodiscovery" directory and files in it to nagios:nagios:
Code: Select all
cd /usr/local/nagiosxi/html/includes/components
chown -R nagios:nagios autodiscovery
Also, make sure apache is added to both, nagios and nagcmd groups.
Modify your auto-discovery job schedule and hit "Submit". See if the job showed up in the apache crontab.
For some reason, you were not able to upgrade the component...
[root@Maxxx automation]# grep COMPONENT_VERSION /usr/local/nagiosxi/html/includes/components/autodiscovery/autodiscovery.inc.php
COMPONENT_VERSION => '2.0.6',
Go to Admin->Manage Components, click on "Check for Updates". You should see Version: 2.2.3 of the Auto-Discovery component available. Upgrade to it.
Also, I noticed the following errors(s) in the apache error log:
"-":6: bad hour
errors in crontab file, can't install.
I am not really sure, where this is coming from. It could be a custom script/cron job not set up properly...