Nagios stopped working after system reboot

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
oatmeal.fshta
Posts: 2
Joined: Sun Aug 07, 2011 9:16 pm

Nagios stopped working after system reboot

Post 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!
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Nagios stopped working after system reboot

Post 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.)
Locked