Error: Invalid hostgroup object directive

Ethan Galstad nagios at nagios.org
Fri Dec 5 02:54:42 CET 2003


As mentioned in the "What's New" page, the contact_groups directive 
has been moved out of hostgroup definitions.  If you're using alpha 
2.0 stuff, you definitely need to read that page of the docs.


On 4 Dec 2003 at 15:20, twebster at daksoft.com wrote:

> 
> 
> 
> 
> 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/
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
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