Whoops Error: Could not read object configuration data
Posted: Tue Feb 21, 2017 10:08 pm
Hi, im new to Nagios. I have been stuck on this screen for a while. I dont get an error running Nagios, but from the web interface i get the Whoops Error: Could not read object configuration data message.
Im following a guide from a book called Learning Nagios 4. The book uses different locations instead of the default. Any help would be greatly appreciated.
Verifying the configuration
Not sure what else to check. i dont see any errors in the log either. Here is Nagios.conf and cgi.cfg hopefully some one can help me out with this.
Thanks for your help.
Im following a guide from a book called Learning Nagios 4. The book uses different locations instead of the default. Any help would be greatly appreciated.
Verifying the configuration
Code: Select all
[nagios@localhost1 etc]$ /opt/nagios/bin/nagios -v /etc/nagios/nagios.cfg
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 2 services.
Checked 1 hosts.
Checked 0 host groups.
Checked 0 service groups.
Checked 3 contacts.
Checked 2 contact groups.
Checked 24 commands.
Checked 3 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 3 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight checkThanks for your help.