SNMP - Wrong type, (Should be INTEGER)
Hi all,
I've installed a new router, and found the MIBS I need with a walker on my Windows box, I then set up Cacti to monitor a few stats about the ADSL line. (Centos 5.2 x64)
Cacti reported "SNMP Error" with no rows returned, so headed for the # prompt and did some snmp-walking, and found this.. (I grabbed the MIB file from cisco as didn't have it.)
ADSL-LINE-MIB::adslAtucCurrSnrMgn.14 = Wrong Type (should be INTEGER): Gauge32: 80
ADSL-LINE-MIB::adslAtucCurrAtn.14 = Wrong Type (should be INTEGER): Gauge32: 30
ADSL-LINE-MIB::adslAtucCurrOutputPwr.14 = Wrong Type (should be INTEGER): Gauge32: 119
ADSL-LINE-MIB::adslAtucCurrAttainableRate.14 = Gauge32: 1347000 bps
and...
snmpget -v2c -c public 192.168.1.254 1.3.6.1.2.1.10.94.1.1.2.1.4
Bad MIN-ACCESS spec (read-wr): At line 3360 in /usr/share/snmp/mibs/ADSL-LINE-MIB.mib
ADSL-LINE-MIB::adslAtucCurrSnrMgn = No Such Instance currently exists at this OID
huh? a walk finds something.....
so, that's what is causing cacti to grumble. and bearing in mind the windows mib browser was returning the values as gauge..
I've checked ADSL-LINE-MIB, and just for the sake of argument change the entries to INTEGER, no change (restarted snmpd)
but I'm not entirely sure of how this is bolted together, I've yum'd to update net-smnp, so it's the latest RH-EL version.
I've had a google, but nothing much forthcoming?? (strange..I thought.)
What is going on........ Suggestions where next please.
Mark007
|