Soft OK States: Feature or Bug?

Ethan Galstad nagios at nagios.org
Mon May 15 18:58:09 CEST 2006


Bob Ingraham wrote:
> Question for the list:
> 
> While working on documenting the NEB interface and the various interal
> Nagios data structures for our delevopment team, I came across this issue
> with Soft OK states.
> 
> Is this a valid state?  We've had one instance where a service was in a
> Soft Critical state for two attempts, then the service was restored and
> the log (and availability report) start showing a Soft OK state (3rd
> attempt).
> 
> This screwed-up our availability report for this service, since the
> service recovered after 20 minutes, but the availability report shows 16
> hours of downtime (because, 16 hours later, the logs were rotated at
> midnight and the state was reset to "Hard" OK.)
> 
> So, again, is this by design or is it a bug?
> 
> BTW, we've seen this behavior on both our current Nagios 2.2 version and
> an ancient Nagios 1.1 version that's going to be retired shortly.
> 
> Thanks,
> Bob
> 

This is actually a feature.  A service that recovers to an OK state 
before reaching a HARD problem state, will be considered a "SOFT" 
recovery.  If the next check of the service returns an OK state, the 
service state type will be reset to "HARD".


Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Developers mailing list