service dependency and escalations

Lori Adams ladams at cloudmark.com
Tue Mar 17 21:59:09 CET 2009


We are still running nagios 2.x.

Is it possible to specify a  servicedependency and/or a service escalation within a service definition?
For the serviceescalation part, they are much like servicegroups where it has to be defined somewhere, but after that you can specify the group in the service def, but not the escalation?
iE:        define serviceescalation  {
        name                    15-minute-escalation
        contact_groups          group
        first_notification      2
        last_notification       0
        escalation_period       24x7
        notification_interval   15
        }

It'd be cool if we could then do :
define service {
                Host                       a
                Service_desc     b
                Escalation            15-minute-escalation
                }

For the dependencies:
I run into the situation that a service is dependent on another service on the same host.  Even though this host is in a hostgroup, I can't use the hostgroup to specify the dependencies.
This makes the configs very messy and not easily templatizable.

I've looked at the docs for the config files, but they seem a bit out of date (they don't even say that you can specify hostgroup instead of host_name in a service def).

Is something like this possible for the 3.x series?

Thanks,
-Lori

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090317/27753b69/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
-------------- 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