notification_interval in serviceescalation ignored

Sjaak Nabuurs sjaak at vsm-hosting.nl
Thu Feb 22 17:35:05 CET 2007


Hello Rejo

Looks like an performance issue, long timeouts on plugins.
Can you track the check_execution_time and the check_latency when you 
have an escalation.
Any sugestion on performance : parralizing check's.
Monitor how much nagios processes on good and bad times are running.


Sjaak




Rejo Zenger wrote:

>Hi there,
>
>I am still strugling with the following problem. I do not expect this to
>be a bug, but until now I have not been able to get it working the way I
>want it. Anybody with a good suggestion?
>
>
>  
>
>>The problem in short: the escalations are working like a charm, but the
>>notification interval of the escalation seems to be ignored. In more 
>>detail, the configuration is as follows:
>>
>>| define serviceescalation {
>>|         first_notification 1
>>|         last_notification 0
>>|         notification_interval 900
>>|         contact_groups cg-all-sane
>>|         service_description $service
>>|         host_name $host
>>|         escalation_options r,w,u,c
>>| }
>> 
>>| define serviceescalation {
>>|         first_notification 12
>>|         last_notification 0
>>|         notification_interval 3600
>>|         escalation_period twentyfourseven
>>|         contact_groups cg-storingsdienst-escalatie
>>|         service_description $service
>>|         host_name $host
>>|         escalation_options r,c
>>| }
>>
>>| define serviceescalation {
>>|         first_notification 4
>>|         last_notification 0
>>|         notification_interval 1800
>>|         escalation_period twentyfourseven
>>|         contact_groups cg-storingsdienst
>>|         service_description $service
>>|         host_name $host
>>|         escalation_options r,w,u,c
>>| }
>>
>>| interval_length=1
>>
>>| define service {
>>|         name s
>>|         register 0
>>|         max_check_attempts 6
>>|         normal_check_interval 120
>>|         retry_check_interval 20
>>|         check_period twentyfourseven
>>|         notification_interval 300
>>|         notification_period twentyfourseven
>>|         notifications_enabled 1
>>|         register 0
>>|         notification_options w,u,c,r,f
>>|         contact_groups cg-all-insane
>>
>>I believe this would, in case of a long lasting problem, result in:
>>- a notification to all contacts in cg-all-sane every 15 minutes, starting
>>  immediatelly when there is a problem
>>- a notification to all contacts in cg-storingsdienst every 30 minutes if
>>  problem has not been resovled or acknowledged within 20 minutes
>>- a notification to all contacts in cg-storingsdienst-escalatie every 60
>>  minutes if problem has not been resovled or acknowledged within 1 hour
>>
>>There are no overlaps in contacts between the various contactgroups (I have
>>created separate e-mailaddresses to be notified, to avoid problems). 
>>
>>Testing this setup resulted in the following notifications:
>>
>> 07:50:44  cg-all-sane
>> 08:07:32  cg-all-sane
>> 08:24:32  cg-all-sane
>> 08:41:24  cg-all-sane, cg-storingsdienst
>> 08:58:19  cg-all-sane, cg-storingsdienst
>> 09:15:10  cg-all-sane, cg-storingsdienst
>> 09:32:16  cg-all-sane, cg-storingsdienst
>> 09:49:25  cg-all-sane, cg-storingsdienst
>> 10:06:31  cg-all-sane, cg-storingsdienst
>> 10:23:38  cg-all-sane, cg-storingsdienst
>> 10:40:38  cg-all-sane, cg-storingsdienst
>> 10:57:40  cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie
>> 11:14:46  cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie
>> 11:29:49  cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie
>> 11:46:58  cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie
>>
>>After this the problem was resolved. I am happy with the escalation, but the
>>thing that does not work is the notification interval. It seems the setting 
>>is being ignored. What is it I am doing wrong here?
>>    
>>
>
>Any help is appreciated.
>
>  
>
>------------------------------------------------------------------------
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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
>
>------------------------------------------------------------------------
>
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.5.441 / Virus Database: 268.18.3/696 - Release Date: 21-2-2007 15:19
>  
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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