Nagios disfunctional , perhaps due to time change ?

Mattias Ryrlén mattias.ryrlen at op5.com
Mon Oct 26 11:18:43 CET 2009


This can be solved with issue the following error.

service nagios stop; now=$(date +%s); sed -i
"s/^next_check=.*/next_check=$now/" /usr/local/nagios/var/status.sav;
service nagios start

this will only work if:
1. you can issue command 'service' :)
2. you have it installed to /usr/local/nagios


On Mon, Oct 26, 2009 at 10:09 AM, Marcus Rejås <marcus at rejas.se> wrote:

> Same here!
>
> I spent some time last night figuring out what happended. I ended up
> downgrading to 3.0.6. I also had to remove the retention.dat. The queue
> looked really strange. All hosts at top and then services, all at times on
> the hour (like 23:00:00 today).
>
> Reschedule them did not help.
>
> I'll stay on 3.0.6 till someone finds an explanation ... :-)
>
> Regards,
>
>  /Marcus
>
> On 10/26 09:21, Martin Melin wrote:
> > Hi,
> >
> > This happened to us as well. All services had been scheduled to execute
> at
> > 11 PM today.
> >
> > The quick fix we used was to stop Nagios, move the objects.cache and
> > retention.dat files and then start it back up again. All acknowledgements
> > etc. were lost but we needed to get back up again soon.
> >
> > Note that this only happened on our 3.2.0 install, another 3.0.6 was
> fine.
> >
> > I'm still investigating what happened, but the above should let you get
> it
> > back up again.
> >
> > Regards
> > Martin Melin
> >
> > On Mon, Oct 26, 2009 at 9:05 AM, Mark Elsen <mark.elsen at gmail.com>
> wrote:
> >
> > >  - Nagios 3.2.0
> > > -----------------------
> > >
> > >  - This morning, I find nagios stopped death in it's tracks. Single
> > > daemon running,
> > > servcie and host checks are no longer executed.
> > >
> > > Stopping and restarting NAGIOS does not help. How can I remedy this ?
> > > We left DST in Europe. Can this be due to a time change ?
> > >
> > >  All hints welcomed !
> > >
> > >  Marc.
> > >
> > >
> > >
> ------------------------------------------------------------------------------
> > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > > is the only developer event you need to attend this year. Jumpstart
> your
> > > developing skills, take BlackBerry mobile applications to market and
> stay
> > > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > > http://p.sf.net/sfu/devconference
> > > _______________________________________________
> > > 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
> > >
>
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > http://p.sf.net/sfu/devconference
> > _______________________________________________
> > 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
>
> --
> Marcus Rejås            jabber:   marcus at jabber.rejas.se  ,= ,-_-. =.
> Rejås Datakonsult AB    e-mail:   marcus at rejas.se        ((_/)o o(\_))
> Vårgatan 2              web:      http://www.rejas.se     `-'(. .)`-'
> s-761 50 Norrtälje      gpg-key:  http://gpg.rejas.se         \_/
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> 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
>



-- 
Vänliga hälsningar / Best Regards
Mattias Ryrlén

__________________________
op5 AB
Första Långgatan 19
SE-413 27 Göteborg
Mobil: +46 735-17 70 99
Support: +46 31-774 09 24
www.op5.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091026/0e75fa61/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-------------- next part --------------
_______________________________________________
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