Net discovery
Marc Powell
marc at ena.com
Wed Mar 23 17:28:31 CET 2005
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Jeff McCombs
> Sent: Wednesday, March 23, 2005 10:14 AM
> To: nagios-users
> Subject: Re: [Nagios-users] Net discovery
>
>
> Nope, there¹s not really any way to do automatic network discovery with
> Nagios. Though you could write a simple perl or shell script that will
> parse
> the output..
>
> Actually, after thinking about this.. It would be pretty useful. A Korn
> script is below. :)
>
> To run, "./generate-nagios-hosts.sh <ip address range>"
> E.g.:
> ./generate-nagios-hosts.sh 10.0.0.0/24
>
>
> Basic sh/ksh script. Requires NMAP, awk, & sed, and a template file for
> basic hostname generation. Edit the template as needed. Use the following
> key words for your substitutions.
[script snipped]
There's also an nmap2nagios addon that already exists. I haven't used it personally but it's available here --
http://www.nagiosexchange.org/Configuration.40.0.html?&tx_netnagext_pi1[p_view]=147
--
Marc
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_idh83&alloc_id149&op=click
_______________________________________________
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