I have just freshly installed Nagios on a Fedora 16 box and it doesn't seem to work. I installed nagios and nagios-plugins using yum (after installing Apache, MySQL and PHP) and changed the contact e-mail. I also configured the nagios web GUI password (nagiosadmin) and ran the config verification. Of course I also restarted all the relevant service. However, the web GUI says:
Error: Could not read object configuration data!
Here are some things you should check in order to resolve this error:
Verify configuration options using the -v command-line option to check for errors.
Check the Nagios log file for messages relating to startup or status data errors.
I already verified the configuration (0 errors, 0 warnings). I also read that this could be caused by permission problems, and gave recursive 777 to:
- /etc/nagios
- /var/spool/nagios
- /usr/share/nagios
It still doesn't work. The log has many messages similar to:
[1326273957] Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
I have checked that the plugins are installed, although there might be another problem with them.
Any suggestions on how I might troubleshoot this?
Thanks.