Are service contacts 'inherited' from respective host?

Danilo Godec danilo.godec at agenda.si
Mon Aug 30 11:02:45 CEST 2010


 Hi,

I'm monitoring a bunch of hosts and each of these hosts has at least two
services used to monitor and graph ping RTA and packet-loss. Hosts
configurations are organized in several .cfg files (by building), there
is also a hostgroup definition grouping all hosts in a building.
However, hosts in a building can have different contacts...

I defined services using hostgroups - like this:

define service {
        use template
        hostgroup_name MYHOSTGROUP
}

I was hoping a service that doesn't have a contact definition would
'inherit' the contact from the host - but it seems that's not the case.

Is there a way to make that happen? Or will I need to define services
one-by-one while and add contact definition to each?

  Danilo


-- 
Danilo Godec, sistemska podpora / system administration

Predlog! Obiscite prenovljeno spletno stran www.agenda.si 

ODPRTA KODA IN LINUX 
STORITVE : POSLOVNE RESITVE : UPRAVLJANJE IT : INFRASTRUKTURA IT : IZOBRAZEVANJE : PROGRAMSKA OPREMA 

Visit our updated web page at www.agenda.si 

OPEN SOURCE AND LINUX 
SERVICES : BUSINESS SOLUTIONS : IT MANAGEMENT : IT INFRASTRUCTURE : TRAINING : SOFTWARE 


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
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