[Nagios-devel] Error: Invalid hostgroup object directive

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Error: Invalid hostgroup object directive

Post by Guest »




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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: webster@daksoft.co
Locked