Notifications only to service contacts, not to host contacts?

Christian Schneemann cschneemann at suse.de
Mon Feb 16 10:49:05 CET 2009


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. 

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.
The contact_group is defined for this host in the host-template.

define service{
        use                             service-template
        hostgroup_name                  check_zypper
        service_description             check for updates
        check_command                   check_nrpe!check_zypper
        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?

Greetings,
	Christian


-- 
Christian Schneemann

-------------------------------------
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 Nürnberg

Phone:  +49 (0)911 - 740 53 0
e-mail: cschneemann at suse.de
-------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex
HRB 16746 (AG Nürnberg)

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