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.
Home page: http://snmpscan.rubyforge.org/
Project page (and download): http://rubyforge.org/projects/snmpscan/
You must have Ruby installed (of course!) and the wonderful SNMP Ruby
library written by Dave Halliday (http://snmplib.rubyforge.org/).
Download a copy from
http://rubyforge.org/projects/snmplib/ or simply
# 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:
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.1 not responding
and so on.
AUTHOR and LICENSE
This software is written by Marco Ceresa.