Log problem


#1

Hi
I am facing another problem.my nagios keeps me shwing old status. of hosts and services.I have echoed status.log,status.sav,nagios.log.
Still it shows me old status after refresh.
whats the problem.does anyone out here knows.?

thanks
Aparna


#2

/etc/rc.d/init.d/nagios stop
ps -ef|grep nagios
You should not have nagios running now.
if you do, kill them.
Then
/etc/rc.d/init.d/nagios start
ps -ef|grep nagios
nagios 1898 1 0 Apr17 ? 00:13:19 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
Should show nagios running.

you most likely have multiple nagios running.


#3

Thanks my log problem is solved


#4

i think that’s to mutch commands for this simple problem , just reboot your system and start all services again.


#5

duh… restart the system? that really is NO option (at least here at our site and in many other situations).
And by the way we are not talking of a windows box…

If i try restarting my nagios server without a proper scheduling i would immediately hear some yelling because of the many services which run on it :slight_smile:

By the way, 3 commands two of which are the stop start commands really aren’t too much. :smiley:

Luca