check frequency

Dongsheng Song dongsheng.song at gmail.com
Tue May 19 05:01:12 CEST 2009


In service definition, set:

        check_interval                  1
        retry_interval                  1
        max_check_attempts              5


In host definition, set:
        check_interval                  1
        retry_interval                  1
        max_check_attempts              5


You can put them to the host/service template for simplify definition.

--
Dongsheng Song

Anirudh Srinivasan 写道:
>  Hi Nagios experts:
>  
> Below is the Alert history for the the host , and the max_check_attemps
> is = 5
>  
>  
> [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL
> - (loss=100% )
> [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL
> - (loss=100% )
> [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL
> -(loss=100% )
> [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL
> - (loss=100% )
> [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL
> - (loss=100% )
>  
> If you could notice the check frequency is approx= 3 min .
>  
> Is it possible to reduce this parameter, if yes then what is the
> parameter that i have to look for.
> I dont want to reduce the max_check_attemps to a lower value.
>  
> All i want to have is check every 1 min for 5 attemps and mark it as
> HARD state.
>  
> Is it possible.??
>  
> Thanks in Adv
> -- 
> Anirudh Srinivasan
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 550 bytes
Desc: OpenPGP digital signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090519/03766728/attachment.sig>
-------------- next part --------------
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
-------------- 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