Large hostgroups?

billy at DOH.STATE.NM.US billy at DOH.STATE.NM.US
Sat Dec 6 02:24:57 CET 2003


Hi John,

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.

regards,
William York, MS, MCP+I, MCSE (NT4 & W2K)
New Mexico Department of Health
Network Operations Center
Vice President - PODNet POD, Inc.
desk: 505.827.2420
office: 505.243.2287 



jhearns at tuls.pauken.co.uk (Dr John Hearns) 
Sent by: nagios-users-admin at lists.sourceforge.net
12/05/2003 04:55 AM

To
nagios-users at lists.sourceforge.net
cc

Subject
Re: [Nagios-users] Large hostgroups?






On Fri, Dec 05, 2003 at 11:31:08AM +0000, Dr John Hearns wrote:

Of course, the members list is comma separated.

But the question still stands - is there an elegant way
to add hunderds of nodes to a hostgroup?


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031205/cd1cf969/attachment.html>


More information about the Users mailing list