Error: Invalid hostgroup object directive

twebster at daksoft.com twebster at daksoft.com
Thu Dec 4 23:20:42 CET 2003





I am receiving the same error that Oliver Haake reported receiving on
11-18, when trying to start nagios.

I downloaded the latest nagios-cvs file on Dec 4.  Is this a bug?


Reading configuration data...

Error: Invalid hostgroup object directive 'contact_groups'.

Error: Could not add object property in file '/etc/nagios/hostgroups.cfg'
on line 5.


my hostgroup entry looks like

# 'INTERNET' host group definition
define hostgroup{
  hostgroup_name  INTERNET
  alias   Internet
  contact_groups  network-admins
  members   WEST,EAST
  }

my contactgroups.cfg file looks like
# 'network-admins' contact group definition
define contactgroup{
  contactgroup_name network-admins
  alias     Network Administrators
  members     username1, username2
  }




Tony



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/




More information about the Developers mailing list