Page 1 of 1

Nagios stopped working after system reboot

Posted: Mon Aug 08, 2011 12:15 am
by oatmeal.fshta
Hello people,

I am new to Nagios and this is my first time posting on this forum!

I am running Nagios 3.0.6. Yesterday I was working on our Nagios and
after I reboot the system and after I logged in to Nagios I noticed that
when I click on any link it would return with the following error:

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.
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.


After google-ing the error for a while I couldn't find any solution for this issue.

When I check for status

[root@nagios ~]# /etc/init.d/nagios status
No lock file found in /usr/local/nagios/var/nagios.lock


Thanks for the help in the future!

Re: Nagios stopped working after system reboot

Posted: Mon Aug 08, 2011 3:57 pm
by agriffin
Try running the following command from the command line:

Code: Select all

service nagios start
If that doesn't fix your problem, post the output from running the next command:

Code: Select all

nagios -v /etc/nagios/nagios.cfg
(You may have to change the file path if your configuration file is located somewhere else.)