Re: [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

Re: [Nagios-devel] Error: Invalid hostgroup object directive

Post by Guest »

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@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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel
>



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






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: nagios@nagios.org
Locked