A ucd-snmp mib module was developed through funding from SNMPinfo to test:
For information on proper usage of SNMP counters, please see SNMPinfo's web page on Counter Behavior
See below about obtaining and using the mib module for this test.
The pre-compiled binary releases containing the counter64 test agent are no longer available.
It should create a new directory, E.G. net-snmp-5.0.x. We will refer to this below as SRCDIR.
(Run "./configure --help", and/or read the SRCDIR/INSTALL file to see more information on using the configure script.)
(This still will take a while.)
Note: in addition to the agent, an snmp library and some applications will be compiled as well. You will probably want to use these utilities to talk with the agent you are building, as they will be configured by default to look for and use the SIT-CTR mib module.
Note: by default, the agent runs in the background and to can appear to quit even though it has actually remained running.
David> sitCtrDiscont.0 = Timeticks: (10981) 0:01:49.81 David> sitCtrInitHigh.0 = Gauge: 0 David> sitCtrInitLow.0 = Gauge: 0 David> sitCtrPeriodLen.0 = Gauge: 10 seconds David> sitCtrPeriods.0 = 11 David> sitCtrIncr.0 = Gauge: 1073741825 David> sitCtrSplit1High.0 = 2 David> sitCtrSplit1Low.0 = 3221225483 David> sitCtrT1c64.0 = Counter64: 11811160075 David> sitCtrSplit2High.0 = 0 David> sitCtrSplit2Low.0 = 4094 David> sitCtrT2c64.0 = Counter64: 4094 David> sitCtrT1A.0 = 11811160075 David> sitCtrT1O.0 = Opaque: Counter64: 11811160075 David> sitCtrT2A.0 = 4094 David> sitCtrT2O.0 = Opaque: Counter64: 4094
Some sections of the agent's counter64 test mib are writable, but by default the agent is not configured to allow write access. You will have to see the snmpd.conf manual page for instructions on configuring the agent to allow you to perform snmpset's on the writable variables.