Different contacts for services on same host

Assaf Flatto nagios at flatto.net
Thu May 6 13:56:12 CEST 2010


Sebastian Gosenheimer wrote:
> Hi everybody,
>
> i'm just having some problems with my contacts and contactgroups.
>
> Let's say, i have a contactgroup xy and a contact ab. I set up a host with the contactgroup xy and some services on this host with the contactgroup xy. But now i have a "special" service on this host, where i only want notifications send to the contact ab. Nagios is also sending the notification e-mails correctly to the contact ab, but it's also sending the notification e-mails to the contactgroup xy.
>
> Can someone tell what i'm missing? Thank you for your help!
>
> Kind regards,
> --sg
>
>   
Is  the service using any templates ?
Does the template have a contactgroup  directive in it ?

you need to override any template or wide definitions that cover the 
service and put in the service specific definitions the directive : 
"contacts     ab"

this will tell the service to just send to the specific contact .

Assaf

-- 
Never,Ever Cut A Deal With a Dragon 


I am doing a Charity Bike ride On the 27 of June for the
Capital to Coast Charity. Please help by Donating
http://www.justgiving.com/Lovefilm-capital-to-coast



------------------------------------------------------------------------------
_______________________________________________
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