is my syntax ok for escalation?

Andrew Laden Andrew.Laden at tudor.com
Wed Apr 19 14:50:54 CEST 2006


Depends on what you are trying to accomplish. The syntax is fine assuming
nagios isnt complaining about it. What problem are you seeing?

What you have
Notify admins (1)
Wait 240 min (4 hours)
Notify admins (2)
Wait 240 min (4 hours)
Notify admin-escalate (3)
Wait 90 min (1.5 hours)
Notify admin-escalate (4)
Wait 90 min
Repeat to 10.
Notify admin-escalate (10)
Wait 90 min
Notify admin (11)
Wait 240 min
Repeat till the world ends.

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net 
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf 
> Of Tom Cruickshank
> Sent: Tuesday, April 18, 2006 10:35 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] is my syntax ok for escalation?
> 
> Hello,
>    I'm trying to get escalation working on a service I have running.
> This is what I currently have.
> 
> define serviceescalation{
>         host_name               web3.host.com
>         service_description     Bacula Process
>         first_notification      3
>         last_notification       10
>         notification_interval   90
>         contact_groups          admin-escalate
>         }
> 
> define service{
>         use                             generic-service
> 	  host_name                       web3.host.com
>         service_description             Bacula Process
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              3
>         normal_check_interval           5
>         retry_check_interval            2
>         contact_groups                  admins
>         notification_interval           240
>         notification_period             24x7
>         notification_options            w,u,c,r
>         check_command                   check_nt_bacula!192.168.1.5
> }
> 
> I know that the contact_groups 'admin-escalate' works since I 
> tried it in "define service" for "contact_groups" and it worked fine.
> 
> Is there anything that I might of missed in defining my 
> serviceescalation?
> 
> Would appreciate any assistance. Thanks!
> 
>  Tom
> 
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.4.4/318 - Release 
> Date: 4/18/2006
>  
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking 
> scripting language
> that extends applications into web and mobile media. Attend 
> the live webcast
> and join the prime developer group breaking into this new 
> coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&
> dat=121642
> _______________________________________________
> 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
> 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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