Nagios not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
oatmeal.fshta
Posts: 2
Joined: Sun Aug 07, 2011 9:16 pm

Nagios not working

Post 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!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios not working

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked