check frequency

Anirudh Srinivasan srianirudh at gmail.com
Tue May 19 20:32:12 CEST 2009


Hi Dongsheng

I tried as you suggested by putting

Check_interval      1
retry_interval          1
max_check_attempts      3

But this is what i see on the alert history  :


[05-19-2009 13:42:35] HOST ALERT: app-engbw5;DOWN;HARD;3;FPING CRITICAL -
(loss=100% )

[05-19-2009 13:37:38] HOST ALERT: app-engbw5;DOWN;SOFT;2;FPING CRITICAL -
(loss=100% )

[05-19-2009 13:32:24] HOST ALERT: app-engbw5;DOWN;SOFT;1;FPING CRITICAL -
(loss=100% )

Again the time duration between each check is like 5 min . Its increased now
to 5 min from 3 min

I want to make it as 1 min and third attempt state as HARD and send
notification.



2009/5/18 Anirudh Srinivasan <srianirudh at gmail.com>

> Also one more question :
>
> How was nagios managing that retry_interval earlier when this parameter was
> not even set ??
>
> Is it because of SMART calculation thats set in nagios.cfg ??? If not
> please can i know how that worked ???
>
> 2009/5/18 Anirudh Srinivasan <srianirudh at gmail.com>
>
>  Hi
>>
>> Thanks for the reply , will try this out. But is there some centralized
>> Parameter in nagios.cfg that could solve this issue.
>>
>> Thanks in Adv
>>
>>   On Mon, May 18, 2009 at 11:01 PM, Dongsheng Song <
>> dongsheng.song at gmail.com> wrote:
>>
>>> 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
>>> >
>>>
>>>
>>
>>
>> --
>> Anirudh Srinivasan
>>
>>
>
>
> --
> Anirudh Srinivasan
>
>


-- 
Anirudh Srinivasan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090519/5201f29b/attachment.html>
-------------- 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