Re: [Nagios-db-devel] Retain State
Status: Beta
Brought to you by:
bench23
From: Ben <be...@si...> - 2005-03-24 17:43:42
|
Well, a couple things. First, nagios-db does retain the last state. (In fact, there's really no way not to retain state.) However, it doesn't use it for hosts and doesn't trust it for services. This was intentional. If nagios has to restart, there's no way to know what happened when it was down. Second, there is a big difference between pending and unknown, at least when it comes to services. So.... unlike the nagios CGIs, the nagios-db UI does the most accurate thing it can: it a service had been up before restart, nagios-db marks the host as "up and pending". It still sort counts as up, but it's untrusted, because nagios may well have missed it going down. If this doesn't work for you, why not? On Thu, 24 Mar 2005, jl wrote: > I've noticed that when nagios resetarts, nagios-db does not retain the > current state. I have set nagios to retain state, and verified that it > does. This creates some holes of 'unknown' for services that don't > report very often. Is there a way to make nagios-db retain state or is > that a limitation of nagios? > > jl > > > > ------------------------------------------------------- > This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 > Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows > Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register > by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click > _______________________________________________ > Nagios-db-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagios-db-devel > |