I tried out Net-SNMP today. It’s a great set of command-line utilities for monitoring your SNMP devices.
In my case, I used it to monitor bandwidth usage on my Linksys AG241 broadband modem. If you like the command-line, as I do, then you’ll enjoy the no-nonsense, functional approach of Net-SNMP’s tools.
Plus there’s a handy wiki full of tutorials, how-tos and other information to get you up and running!
Start with snmpwalk, which lets you query a device for all the information it can give you. You can use that to find the names and numbers of network interfaces, for example.
Once you have the object identifiers (“OID” in SNMP-speak) for the data you want, use snmpget whenever you’d like to grab that info. Use snmpwalk and snmpget with grep, awk and perl to periodically poll the data you need, and:
- record it in a database,
- create a graph,
- alert you when bad things happen (e.g. too much downloading in one day), or
- anything else you could possibly want!
SNMP is great, and Net-SNMP is a great implementation.

