Hi All,

I was trying to understand from this example below. Can someone please explain 
me(considering newbie) this simple example on it's flow, the stages and the 
actions/events etc...
Why the rows form 2-5 says State change = Yes consecutively ?

This is from the bottommost example in this link (in case the below pasted one 
is unclear)-

http://nagios.sourceforge.net/docs/3_0/statetypes.html

Example

Here's an example of how state types are determined, when state changes occur, 
and when event handlers and notifications are sent out. The table below shows 
consecutive checks of a service over time. The service has a max_check_attempts 
value of 3.
Time    Check # State   State Type      State Change    Notes
0       1       OK      HARD    No      Initial state of the service
1       1       CRITICAL        SOFT    Yes     First detection of a non-OK 
state. Event handlers execute.
2       2       WARNING SOFT    Yes     Service continues to be in a non-OK 
state. Event handlers execute.
3       3       CRITICAL        HARD    Yes     Max check attempts has been 
reached, so service goes into a HARD state. Event handlers execute and a 
problem notification is sent out. Check # is reset to 1 immediately after this 
happens.
4       1       WARNING HARD    Yes     Service changes to a HARD WARNING 
state. Event handlers execute and a problem notification is sent out.
5       1       WARNING HARD    No      Service stabilizes in a HARD problem 
state. Depending on what the notification interval for the service is, another 
notification might be sent out.
6       1       OK      HARD    Yes     Service experiences a HARD recovery. 
Event handlers execute and a recovery notification is sent out.
7       1       OK      HARD    No      Service is still OK.
8       1       UNKNOWN SOFT    Yes     Service is detected as changing to a 
SOFT non-OK state. Event handlers execute.
9       2       OK      SOFT    Yes     Service experiences a SOFT recovery. 
Event handlers execute, but notification are not sent, as this wasn't a "real" 
problem. State type is set HARD and check # is reset to 1 immediately after 
this happens.
10      1       OK      HARD    No      Service stabilizes in an OK state.


Thanks in advance,
sena


      


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to