> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Thomas Slutyer > Sent: Friday, July 28, 2006 1:14 AM > To: <[email protected]> > <[email protected]> > Subject: Re: [Nagios-users] defining a hostgroup > > >> I currently setup hostgroups.cfg in which I have the following: > >> > >> define hostgroup{ > >> hostgroup_name linux > >> alias Linux > >> } > >> > >> When I run the -v test to see if everything is alright > before turning > >> on Nagios, it throws the following error: > >> > >> Invalid object definition of type 'hostgroup'. Any idea > what I may be > >> doing wrong? > > *cough* > > The manual clearly states that the "members" field is a > requisite for a hostgroup definition. Even if it doesn't have > any members (just leave it blank).
This wasn't my question (my hostgroups work fine, thanks :) ), but the manual's not 100% correct in this case. A hostgroup does not need to have members defined in the hostgroup definition; they work fine if hosts are assigned to groups in the host definitions. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list [email protected] 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
