<br><font size=2 face="sans-serif">Hi John,</font>
<br>
<br><font size=2 face="sans-serif">You might try doing a dns dump from
nslookup (ls -d domain.com > dns.txt) and running a script against that.
if you're not comfortable with a script, you at the very least have a text
file with all of your hosts in it and it's a lot easier than typing them
all in. if you are comfortable with scripting, you can easily extract the
relevant data and pump that into a string that will look like you want.</font>
<br>
<br><font size=2 face="sans-serif">regards,<br>
</font>
<hr><font size=1>William York, MS, MCP+I, MCSE (NT4 & W2K)</font><font size=1 color=red><br>
New Mexico Department of Health<br>
Network Operations Center</font><font size=1 color=blue><br>
Vice President - PODNet POD, Inc.</font><font size=1><br>
desk: 505.827.2420<br>
office: 505.243.2287 </font>
<hr>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>jhearns@tuls.pauken.co.uk
(Dr John Hearns)</b> </font>
<br><font size=1 face="sans-serif">Sent by: nagios-users-admin@lists.sourceforge.net</font>
<p><font size=1 face="sans-serif">12/05/2003 04:55 AM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">nagios-users@lists.sourceforge.net</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [Nagios-users] Large
hostgroups?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>On Fri, Dec 05, 2003 at 11:31:08AM +0000, Dr John
Hearns wrote:<br>
<br>
Of course, the members list is comma separated.<br>
<br>
But the question still stands - is there an elegant way<br>
to add hunderds of nodes to a hostgroup?<br>
<br>
<br>
-------------------------------------------------------<br>
This SF.net email is sponsored by: SF.net Giveback Program.<br>
Does SourceForge.net help you be more productive? Does it<br>
help you create better code? SHARE THE LOVE, and help us help<br>
YOU! Click Here: http://sourceforge.net/donate/<br>
_______________________________________________<br>
Nagios-users mailing list<br>
Nagios-users@lists.sourceforge.net<br>
https://lists.sourceforge.net/lists/listinfo/nagios-users<br>
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. <br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</tt></font>
<br>