Notifications only to service contacts, not to host contacts?

Marc Powell marc at ena.com
Mon Feb 16 15:13:00 CET 2009


On Feb 16, 2009, at 3:49 AM, Christian Schneemann wrote:

> Hi,
> I have some services defined, that are just interesting for some  
> people,
> especially not for all contacts defined for the host. So the service  
> has a
> single contact defined.

Nagios expects this kind of notification granularity.

> Now the problem is, that the notifications are not only send to the  
> contact
> defined for this service, they are also send to the contacts  
> (contact_group)
> defined for the host this service is defined for.

Nagios will not do this unless you specifically configure it to do so.  
Nagios has been told that it should.

Are they service notifications or host notifications? Is there  
anything else unusual about the notifications or their content? What  
does nagios.log show related to these notifications?

> The contact_group is defined for this host in the host-template.
>
> define service{
>
>        contacts                        contact1
>        }
>
> define host{
>        use                     example-template
>        host_name               hostname.example.org
>        alias                   example host
>        address                 hostname.example.org
>        hostgroups              example-hosts, check_zypper
>        }
>
> What am I doing wrong? Any suggestions?

Who are the host contacts? Please post the entire host and service  
definitions, including the templates with the important bits. You  
might want to grab the definitions from objects.cache.

--
Marc


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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