What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

PRTG and MIB with bitfield

Votes:

0

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)
	}

bitfield lookup snmp

Created on Jul 7, 2020 3:27:09 PM

Last change on Jul 8, 2020 7:47:44 AM by  Felix Wiesneth [Paessler Support]



1 Reply

Votes:

0

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

Created on Jul 8, 2020 7:51:31 AM by  Felix Wiesneth [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.