Hi, I implemented snmp protocol in our device, I wrote MIB file following SNMPv2 specifications. I converted my MIB to oidl file to be imported in PRTG and it worked.
In my MIB file I defined a field with syntax BITS (showed at the end of question). "MIB importer" translated this in a lookups.
What happens is: when PRTG try to query the field associated with this type, it recognize a big number that is not correct. It is like 0xCCCCCC84. ( I checked with wireshark and the value from the device is 0x100)
Using another snmp Interpreter (SnmpB) everything work correctly and bitfield are correctly displayed at video. (In this case "error9"). What am I doing wrong?
CbitValue ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "CBIT bitfield" SYNTAX BITS { error1 (0), error2 (1), error3 (2), error4 (3), error5 (4), error6 (5), error7 (6), error8 (7), error9 (8), error10 (9), error11 (10), error12 (11), error13 (12), error14 (13), error15 (14), error16 (15) }
Hi there,
Please note that we cannot provide deep technical support for custom MIB files. I would recommend to use our SNMP Tester Tool to check which values could be displayed.
Kind regards
Felix Wiesneth - Team Tech Support
Jul, 2020 - Permalink