How to list members of a hostgroup?

Robert Wolfe robert.wolfe at robertwolfe.org
Wed Oct 13 19:08:02 CEST 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?  
 
Thanks, 
Chris 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/0771ed59/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
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