Oddities after restart

Andreas Ericsson ae at op5.se
Fri Nov 14 10:30:47 CET 2008


Steven Schwartz wrote:
> Due to a site-wide power failure, I recently had to restart a Nagios
> v2.5 server, with 150+ hosts and 300+ services.  After restart, only
> some of the machines were checked, and upon going back to do forced
> service checks, I discovered a bunch of machines had "next check times"
> that were in the past. Has anyone else encountered this type of problem
> after bringing Nagios up from a hard shutdown?
> 

You almost certainly have multiple nagios instances running.
Try

/etc/init.d/nagios stop; sleep 5; killall -9 nagios; /etc/init.d/nagios start

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list