[Nagios-users] How to list members of a hostgroup?

Robert Wolfe robert.wolfe at robertwolfe.org
Wed Oct 13 17:08:02 UTC 2010

For each group, you should have a configuration file.  The hosts are defined in those files (someone please correct me if I am wrong here).


From: Chris Hudson [mailto:chrishudson at gmail.com]
Sent: Wed 10/13/2010 11:52 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] How to list members of a hostgroup?

Hi, I'm new to Nagios and have a question.  
I need to get a list of all the members of a hostgroup.  
I have looked in the hostgroups.cfg file, but it only has two directives for each group:  name and alias (I would have expected a "members" directive, with a list of hosts in that group, but no).  
 Is there a place I can get this information?  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nagios.com/pipermail/nagios-users/attachments/20101013/0771ed59/attachment.html>

More information about the Nagios-users mailing list