Service notifications tied to host_groups?

Ben Beuchler insyte at gmail.com
Mon Dec 19 19:49:28 CET 2005


>From my understanding of the manual, who gets notified for a service
problem is separate from who gets notified for a host problem.  Is
there a way to configure things so that a service-related notification
is sent to the host_group's contact group instead?

For example:

HostA is managed by Bob.
HostB is managed by Bill.

Both HostA and HostB run Apache, so in my nagios config there is an
HTTP service with "HostA,HostB" in the "host_name" field.  If HTTP
dies on either HostA or HostB, it appears the notification would be
sent to the contact_groups listed in the HTTP service definition. 
What I would like to have happen is that if HTTP dies on HostA, the
notification goes to "Bob" and, of course, to "Bill" if it does on
HostB.

Is the only way around this to create a unique HTTP service for both
HostA and HostB?

Thanks!

-Ben


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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