To keep things simple, we define contacts in our host templates. This 
means that adding a simple host is as simple as copying & pasting a short host 
definition and changing the name. I'd like to do the same for escalations -- 
sending to the same people's cellphones via email, at least for now.

        We definitely don't want to add a hostname to hostnameescalation & 
serviceescalation definitions every time we add a host (in another file).

        Is there any particular reason hosts can define contacts but not 
escalations? This applies equally to services, of course.

        For now, I will define hostgroups inside serviceescalation, but I'm not 
sure how that will affect additional contacts (added with +user in individual 
host & hostgroup definitions).

        Alternatively, if there's a simple way to start with email 
notifications and then automatically start pager notifications (for those 
contacts with pager: defined) after an interval, that would work as well and be 
even simpler. I don't see anything built in for deferring pages until a few 
emails have gone unanswered, though.

Thanks!

Chris Pepper

> define host {
>     name            linux-server
>     use            generic-host
>     check_period        24x7
>     check_interval        5
>     retry_interval        1
>     max_check_attempts    10
>     check_command        check-host-alive
>     notification_period    24x7
>     notification_interval    30
>     notification_options    d,u,r
>     contact_groups        admins
>     register        0
>     hostgroups        linux-servers, ssh-disks-monitored, ssh-load-monitored
>     }

-- 
Chris Pepper:                <http://cbio.mskcc.org/>
                             <http://www.extrapepperoni.com/>

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to