SNMP enumerations in Object Tool
-
Hello,
I'd like to ask you if there is a way how to display string enumerations from a MIB file instead of an integer value in a SNMP Table Object Tool (or in MIB Explorer)?The snmp integer enumerations are described for example here:
https://www.webnms.com/snmp/help/snmpapi/snmpv1/using_mibs_in_applns/enumintegers.html
and in the mib file (mymibfile.txt), they can look like thisseverity OBJECT-TYPE SYNTAX INTEGER { info(0), warning(1), error(2), fatalError(3) } MAX-ACCESS read-only STATUS current DESCRIPTION "Severity of the error"Instead of a number (1), I would like to see the associated string (warning) in the table.
I tried to track the enumerations in code, but it seems to me that they don't even get to the netxms.mib file. Does NetXMS read the mib files (with .txt suffix) again or is it necessary to store the enumeration strings in the netxms.mib file? I'm afraid that modifying the netxms.mib file could cause a lot of trouble during parsing.
I could try to implement this functionality myself (if it isn't implemented yet), but now I feel a bit lost, so each hint or advice would help me.
I'm using NetXMS 2.0-M2 on Ubuntu.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login