Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Development
  3. SNMP enumerations in Object Tool

SNMP enumerations in Object Tool

Scheduled Pinned Locked Moved Development
1 Posts 1 Posters 26.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    B
    Beda
    wrote on last edited by
    #1

    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 this

    severity 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.

    1 Reply Last reply
    0

    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
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    Powered by NodeBB Contributors
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups