Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
Monitoring switches/routers via ICMP

New User

Dec 2, 2013, 2:26 PM

Views: 19363
Monitoring switches/routers via ICMP


I would like to know the best method monitoring a large number of switches and routers on a network for reachability via ICMP. Currently we have systems in place to monitor via SNMP traps however this is not always reliable and can be slow sometimes.

I am worried about setting up a perl script to ping 500+ routers/switches concurrently to test for reachability because I am worried about the PC load doing this ? or is this not going to use alot of resources ? I would like a script that can accept in a text file a list of all hostnames/IP to be scanned and the perl script to do the scanning of the large number of hosst fro the host file.

I would then like a seperate text file that the results will be sent to showing the same list of hosts in the hosts text file but putting a 0 next to the device if it is not reachable and 1 if it is reachable via ICMP ping.

Hope someone can help!

Veteran / Moderator

Dec 2, 2013, 5:03 PM

Views: 19354
Re: [kmusawi] Monitoring switches/routers via ICMP

Rather than reinventing the wheel by writing your own monitoring script, use Nagios which is "the Industry Standard In IT Infrastructure Monitoring" web application.