Page 1 of 1

Nagios not working

Posted: Sun Aug 07, 2011 9:29 pm
by oatmeal.fshta
Hello guys,

I am new in Nagios and shis is my first time posting on this forum so bear with me.

Last night when I was working our nagios wasn't giving network status at all
and when I reboot the system I get the following error on any link I click:

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.


And also, I have this issue:

Last login: Mon Aug 8 10:08:38 2011 from 203.169.48.92
[root@nagios ~]# /etc/init.d/nagios status
nagios is not running
[root@nagios ~]# /etc/init.d/nagios stop
Stopping nagios: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
done.
[root@nagios ~]# /etc/init.d/nagios start
Starting nagios: done.
[root@nagios ~]# /etc/init.d/nagios status
nagios is not running


I just don't know what to do anymore. Thanks for the help in the future!

Re: Nagios not working

Posted: Mon Aug 08, 2011 10:53 am
by lmiltchev
Run in terminal as root:

Code: Select all

killall -9 nagios
service nagios start
Then run the following command in terminal as root and post the output?

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg