Discussion:
[Nagios-users] alert when new device is on network
Rogelio Bastardo
2007-09-05 21:51:56 UTC
Permalink
I am looking for a tool that will alert me (possibly send me an email)
when a new device pops on the network.

Does anyone know if there is a Nagios plugin? Or whether or not
something else Nagios-friendly might help with this task?
Evgeny Stepanov
2007-09-06 04:52:55 UTC
Permalink
I would suggest the following. Using nmap you can scan the network and
get a list of active devices on your network. Then one can write the
script that will check the list from nmap with some static list,
prepared before. If the script will find new device, it will issue a
CRITICAL state and nagios will send a notification.
for instance:
nmap -sP -n 172.17.0.0/24 gives the following output

Starting Nmap 4.20 ( http://insecure.org ) at 2007-09-06 08:39 MSD
Host 172.17.0.1 appears to be up.
Host 172.17.0.5 appears to be up.
Host 172.17.0.15 appears to be up.
Nmap finished: 256 IP addresses (3 hosts up) scanned in 2.313 seconds

script can parse the output to get a list of hosts that "appears to be
up" and check if they are in list. If not, it will issue a critical
state and quit.
Sorry, i could not write the script by myself.
Post by Rogelio Bastardo
I am looking for a tool that will alert me (possibly send me an email)
when a new device pops on the network.
Does anyone know if there is a Nagios plugin? Or whether or not
something else Nagios-friendly might help with this task?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
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
--
С уважением,
Степанов Е.Н.
***@mail.ru
icq 2899514
+7-985-2267458
Steve Huff
2007-09-06 13:19:56 UTC
Permalink
Post by Rogelio Bastardo
I am looking for a tool that will alert me (possibly send me an email)
when a new device pops on the network.
Does anyone know if there is a Nagios plugin? Or whether or not
something else Nagios-friendly might help with this task?
perhaps a combination of arpwatch (http://freequaos.host.sk/
arpwatch/) and passive monitoring? i have not in fact implemented
this, but it's the first idea that comes to mind.

-steve
--
Steve Huff - Systems Administrator, Harvard-MIT Data Center -
***@hmdc.harvard.edu
Andreas Ericsson
2007-09-06 13:33:23 UTC
Permalink
Post by Steve Huff
Post by Rogelio Bastardo
I am looking for a tool that will alert me (possibly send me an email)
when a new device pops on the network.
Does anyone know if there is a Nagios plugin? Or whether or not
something else Nagios-friendly might help with this task?
perhaps a combination of arpwatch (http://freequaos.host.sk/
arpwatch/) and passive monitoring? i have not in fact implemented
this, but it's the first idea that comes to mind.
ARP is a bit limited though, in that it will only ever find host on
the same subnet.
--
Andreas Ericsson ***@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
Cook, Garry
2007-09-06 13:57:05 UTC
Permalink
I think you should take a look at NeDI, the Network Discovery tool.
http://nedi.ch/

It's much more than a plugin, it's an application all its own. But it does network discovery, which is what you're looking for, and Nagios does not. Use the correct tool for the job.

Thanks,
Garry

-----Original Message-----
From: nagios-users-***@lists.sourceforge.net [mailto:nagios-users-***@lists.sourceforge.net] On Behalf Of Rogelio Bastardo
Sent: Wednesday, September 05, 2007 3:52 PM
To: Nagios Users mailinglist
Subject: [Nagios-users] alert when new device is on network

I am looking for a tool that will alert me (possibly send me an email)
when a new device pops on the network.

Does anyone know if there is a Nagios plugin? Or whether or not
something else Nagios-friendly might help with this task?

NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates.
Justin Maloney
2007-09-07 20:35:44 UTC
Permalink
You could put the check_ping script into a shell script that reverses
the output. 3=1 and 1=3 and parse the output to clean up the messages.
That would be simple if it was a static IP address.

Thank you,

Justin Maloney

Systems Administrator

Honeycomb Internet Services

612.617.0007


-----Original Message-----
From: nagios-users-***@lists.sourceforge.net
[mailto:nagios-users-***@lists.sourceforge.net] On Behalf Of Rogelio
Bastardo
Sent: Wednesday, September 05, 2007 4:52 PM
To: Nagios Users mailinglist
Subject: [Nagios-users] alert when new device is on network

I am looking for a tool that will alert me (possibly send me an email)
when a new device pops on the network.

Does anyone know if there is a Nagios plugin? Or whether or not
something else Nagios-friendly might help with this task?

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-***@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
moshe sharon
2007-09-09 08:57:55 UTC
Permalink
Hello

You can find "check_find_new_hosts" plugin in Nagiosexchange.this plugin
scans you network for changes and alerts if it finds new hosts.

the link:
http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view]=275
--
Moshe Sharon
http://www.centerity.com
Continue reading on narkive:
Loading...