Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Kanban workshop
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Getting OID instead of ID from SNMP

Solved988 views13th March 2023protocol development SNMP tables
6
Robin Becker [DevOps Advocate]1.40K 20th February 2023 0 Comments

I’m getting an SNMP table but my index column contains the last integer of the OID instead of the actual content. Below the index of the first row is 1840, second row has index of 2, and so on. However the index column i dataminer sets the IDs to 1, 3, 5 respectively which is just the last integer of the OID. SNMP v1.

Table SNMP-tag:

<SNMP>
<Enabled>true</Enabled>
<OID type=”complete” options=”;instance;bulk:20″>1.3.6.1.4.1.29286.1.3.4.4.1</OID>
</SNMP>

ID Column:

<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<SNMP>
<Enabled>true</Enabled>
<OID type=”complete”>1.3.6.1.4.1.29286.1.3.4.4.1.1.2</OID>
<Type>integer</Type>
</SNMP>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>number</Type>
</Measurement>

Robin Becker [DevOps Advocate] Selected answer as best 13th March 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
6
João Severino [SLC] [DevOps Catalyst]13.23K Posted 20th February 2023 3 Comments

Hi Robin

Since you are using the instance option, DataMiner will poll the instances as an extra column for the table and place them in the first column.

If you want to have the ID, you will need to first define an extra column at the beginning of your table definition and after that the data columns.

Robin Becker [DevOps Advocate] Selected answer as best 13th March 2023
João Severino [SLC] [DevOps Catalyst] commented 20th February 2023

An additional documentation link further explaining the instance option
https://docs.dataminer.services/develop/devguide/Connector/ConnectionsSnmpRetrievingTables.html#instance-option

Robin Becker [DevOps Advocate] commented 20th February 2023

Thank you! And to get the REAL IDs am I correct in assuming I would have to do add another column with “1.3.6.1.4.1.29286.1.3.4.4.1.1.2.*” where 501 is the instance column? Or is there a better way?

João Severino [SLC] [DevOps Catalyst] commented 20th February 2023

You do need to add an extra column but there is no need to add the wildcard at the end of the OID.
Since you indicated to DataMiner that you want to use the instance option, it will know that it should poll based on the instances it previously found.

In summary, you should be able to add a column before the one you currently have and not need to touch the one you already have (you will still need to adapt the table definition).

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs