service inheritance contacts defined in host

Nicolás Valera nvalera at gmail.com
Mon Oct 29 15:25:22 CET 2012


hi!
i have a problem with contacts inheritance.
when i defined one group (it) with two contacts (user1,user2) and a host 
with two services.
when i put "contact_groups it" in the definition of host, services 
inherit the contact group.

i would like the group to see the host and the contacts see only one 
service like this:

define host{
   host_name sw1
   alias SW1
   address x.x.x.x
   parents sw0
   use generic-host
   contact_groups it
}
define service {
   service_description   f0/1
   host_name             sw1
   check_command		check_snmp_int_v2!FastEthernet0.1$
   use                   generic-service
   contacts user1
}
define service {
   service_description   f0/2
   host_name             sw1
   check_command		check_snmp_int_v2!FastEthernet0.2$
   use                   generic-service
   contacts user2
}

sorry about my english.

Thanks in advance!
Nicolás.

------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
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