defining a hostgroup

Thomas Slutyer nagios at kilala.nl
Fri Jul 28 10:13:59 CEST 2006


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

<3

Cheers!


Thomas


-------------------------------------------------------------------------
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
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list