host in more than one hostgroup?

Evan Mann emann at questinc.org
Thu Jan 16 15:16:08 CET 2003


I can put a host in more than 1 hostgroup correct?

I would have this:

host router-ext part of group all which has members * (thus getting 100% of
my hosts.cfg)
host router-ext-2 part of group routerext which has members router-ext-2
(only 1 host in that hostgroup)

Both host's ping the SAME IP.

This would be then used in my escalations in the following way:

define hostgroupescalation{
        hostgroup_name                  routerext
        first_notification              2
        last_notification               3
        contact_groups                  qpage-group
        notification_interval           60
        }

define hostgroupescalation{
        hostgroup_name                  all
        first_notification              3
        last_notification               4
        contact_groups                  it-group,nextel-group
        notification_interval           60
        }

---

The reason behind this is that the my "router-ext-2" host I want to have an
escalation from a standard e-mail to sending a qpage alert after 20 minutes
of being down.  So to accomplish this I have router-ext-2 set to a 20 minute
notification interval, and "router-ext" host set to my standard 120 minute
interval. 

This should (this is why I ask) give me a setup where on the first
down/unknown response I get an e-mail sent to an e-mail box, on the 2nd
notification I get a qpage alert sent to my cell phone, and then on the 3
alert I'll still continue to get my e-mails because the escalation for "all"
has the router-ext part of it. 

Would this work?


-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en




More information about the Users mailing list