Nagios 2.0 CVS and contact_groups

Holger Wirtz wirtz at dfn.de
Fri Feb 11 10:10:08 CET 2005


Andreas,

On Thu, Feb 10, 2005 at 07:52:38PM +0100, Andreas Ericsson wrote:
[Problem with contact_group defintion]
> >Reading configuration data...
> >
> >Error: Invalid hostgroup object directive 'contact_groups'.
> 
> Read the changelog. contact_groups have been moved to host objects so as 
> to adhere to the way services are configured.

Ahhh, ok, sorry - that it. Now it works - but I really don't know
exactly why.

I put contact_groups only in the host definitions - that won't work.
It worked after putting contact_groups in the absolute base template of
my host AND service definitions... 

Holger

> 
> >Error: Could not add object property in file
> >'/usr/local/nagios/etc/hostgroups.c fg' on line 23.
> >--- cut here ---
> >
> >Hm, this seems to be very strange because putting a line with
> >"contact_groups" inside the object definition (hosts and services) works...
> >
> >Is this a bug or am I to stupid to configure nagios?
> >
> >Regards, Holger
> 
> -- 
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Lead Developer
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> 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

-- 
#####  #### ##  ##   Holger Wirtz         Phone : (+49 30) 884299-40
##  ## ##   ### ##   DFN-Verein           Fax   : (+49 30) 884299-70
##  ## #### ######   Stresemannstr. 78    E-Mail: wirtz at dfn.de
##  ## ##   ## ###   10963 Berlin
#####  ##   ##  ##   GERMANY              WWW   : http://www.dfn.de
GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC  0C51 E961 79E2 6685 9BCF


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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