Snmpscan is a simple, yet powerful (and fast!) command-line SNMP scanner. Its aim is to reproduce the funcionalities of popular tools such as nbtscan, scanssh, smtpscan and other.
# gem install snmp
If you got this software on a tarball tgz, simply install it with
# ruby setup.rb
Otherwise you can use gem:
# gem install snmpscan
Directly from the online help:
snmpscan 10.10.10.64 Scans host 10.10.10.64 with default values snmpscan -t 200 -c comread -m sysName 172.30.149.0/24 Scans a range of 255 addresses for mib sysName.0, with comunity password "comread" and a timeout value of 200 milliseconds
If you use the -V (–verbose) option, you will have more output, like a string with the motivation for the failed scan for every host:
snmpscan -V 172.30.149.0/24 172.30.149.0: host 172.30.149.0 not responding 172.30.149.1: host 172.30.149.0 not responding
and so on.
*AUTHOR and LICENSE*
This software is written by Marco Ceresa. email@example.com