Re: [Nagios-users] Notifications only to service contacts, not to host contacts?

2009-02-16 Thread Marc Powell

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{

contactscontact1
}

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


Re: [Nagios-users] Notifications only to service contacts, not to host contacts?

2009-02-16 Thread Christian Schneemann
On Monday February 16 2009 03:13:00 pm Marc Powell wrote:
 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.

[...]
 
  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.
Thanks for the hint with the objects.cache.
The contact_group is defined in the template for the service.

so a 
define service {
...
contactscontact1
contact_groups  
}
unsets the value and I hope it will work now.

Thanks for helping :)




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



-- 
Christian Schneemann

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

Phone:  +49 (0)911 - 740 53 0
e-mail: cschneem...@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@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