Nagios 2.0 CVS and contact_groups

Holger Wirtz wirtz at dfn.de
Thu Feb 10 15:47:22 CET 2005


Hi,

I have lots of hosts and services. Today I tried Nagios 2.0 CVS. It
works fine for me (I am an admin and I see EVERY host and service).

If I try to insert a line with "contact_groups" inside a host or service
definition I get an error while reloading for each host/service:

--- cut here ---
Nagios 2.0b1
Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org)
Last Modified: 12-15-2004
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Warning: Service 'PING' on host 'foo.bar'  has no default contact group(s)
defined!
...
--- cut here ---

The sample configs have this line... and even the hostgroups file. But
putting a contact_groups line inside a hostgroup definition I get also
an error:

--- cut here ---
Nagios 2.0b1
Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org)
Last Modified: 12-15-2004
License: GPL

Reading configuration data...

Error: Invalid hostgroup object directive 'contact_groups'.
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
-- 
#####  #### ##  ##   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