This is a generic SNMP (Simple Network Management Protocol) module (tested on UNIX but not on Windows), which requires the Tnm Tcl extension package (from the Scotty Tcl extension software) to be installed on the computer.

Data is initially displayed in one or several tables, with one column per object identifier (see the -i (--identifiers) option). If the SNMP table index consists of a single object, then the corresponding column will be used as the index of the displayed table(s), else a specific column containing a row creation unique number is generated. In either case, the index column is inserted, or placed if already specfied in the identifiers list (see --identifiers option), at the leftmost position in each of the displayed tables.

Data is displayed as returned by the SNMP peer after formatting by the Scotty SNMP engine, except for the objects of the counter type, which are displayed as "per second" values, calculated by dividing the difference between 2 poll values by the actual time difference between the two last polls. The SNMP agent system uptime value is used for most precise calculations.

Of course, you can, as with any other moodss module, specify several instances of this module in the command line to monitor as many SNMP peers as desired.

This document includes extracts from the Scotty documentation. The Scotty software is copyrighted by Juergen Schoenwaelder, the Technical University of Braunschweig, the University of Twente and other parties (please refer to the Scotty license for further information).

Module options:

Examples:

$ moodss snmp -t ipAddrTable
$ moodss snmp -a 134.169.34.1 --mibs rfc1213.mib -t ifTable
$ moodss snmp --trim if -a 134.169.34.1 -t ifTable -i ifDescr,ifType,ifMtu,ifSpeed,ifOperStatus,,ifInOctets,ifInErrors,ifOutOctets,ifOutErrors
creates the following 2 tables:
example view of 2 tables with MIBII interfaces data
$ moodss snmp --trim frCircuit -a router.mycompany.com --mibs rfc1212.mib,/home/jdoe/mibs/rfc1315.mib -t frCircuitTable -i frCircuitDlci,frCircuitThroughput,frCircuitState,frCircuitReceivedOctets,frCircuitSentOctets