Status Changing

Jim Mozley jim.mozley at exponential-e.com
Fri Mar 12 12:48:19 CET 2004


Rabbie Zalaf wrote:

> Hi All,
> 
> I have nagios configured to do some RADUIS checking and have a script
> configured to do this.
> 
> What I wish to do is to set Nagios to:
> 
> Execute script ----- OK = OK
>                  |
>                  --- Not OK = Status: Warning
>                       |
>               Execute script again
>                       |
>                       ---- OK = Status: OK
>                       |
>                       ---- Still Not OK = Status: CRITICAL
> 
> How would I go about doing this as currently all I know how to do is to set
> it to CRITICAL apon failure.

Nagios does this anyway, depending upon how the service is configured. 
Each check is executing the plugin with a configurable number of 
warnings before a critical hard state. Check out the docs for a 
description of this.

Jim Mozley


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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