Penguin

Acronym for Simple Network Management Protocol.

A easy way to retrieve data from a device, simple enough to be implemented in almost anything. Your ADSL router probably speaks SNMP, network printers support SNMP etc. If you have a device that has SNMP try the commands:

 snmpwalk  ip.of.machine public .
 snmptable ip.of.machine public udp.udpTable
 snmptable ip.of.machine public ip.ipNetToMediaTable
 snmptable ip.of.machine public ip.ipRouteTable
 snmptable ip.of.machine public ip.ipAddrTable
 snmptable ip.of.machine public interfaces.ifTable
 snmptable ip.of.machine public tcp.tcpConnEntry
 snmptable ip.of.machine public host.hrStorage.hrStorageTable

(change public if you know the community name is something else) to see all the information you can get out of SNMP.

There are lots of programs that will graph from SNMP, including MRTG and rrdtool. There are some nice wrappers around these tools like cricket and Cacti (I highly recommend Cacti, it's pretty)


CategoryProtocols