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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Only getting the first row of SNMP table

Solved1.71K views30th August 2022protocol SNMP
1
Robin Becker [DevOps Advocate]1.40K 11th July 2022 0 Comments

Hi,

I'm trying to fetch the contents of an SNMP table but I only get the first row. However, specifying the OID of a single cell in the second row does successfully return the correct value of that cell. Any idea on why that would happen?

On the table param I use

<SNMP>
<Enabled>true</Enabled>
<OID type="complete" options="instance;multipleGetNext">1.3.6.1.4.1.<vendor-OID>.12.10.3</OID>
</SNMP>

and on the columns I add the SNMP tag as well like this on the first column:

<SNMP>
<Enabled>true</Enabled>
<OID type="complete">1.3.6.1.4.1.<vendor-OID>.12.10.3.1.1</OID>
</SNMP>

and finally the Group is defined as:

<Group id="6">
...
<Type>poll</Type>
<Content>
<Param>1030</Param>
</Content>
</Group>

Robin Becker [DevOps Advocate] Selected answer as best 30th August 2022

4 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Robin Becker [DevOps Advocate]1.40K Posted 30th August 2022 0 Comments

This problem was due to a bug in the device firmware and after getting an update from the manufacturer.

After a firmware upgrade, following Mieke's instructions worked perfectly.

Robin Becker [DevOps Advocate] Selected answer as best 30th August 2022
2
Mieke Dryepondt [SLC] [DevOps Advocate]3.58K Posted 13th July 2022 0 Comments

Hi Robin,
I can see a mistake in your definition.
You use multipleGetNext polling method in combo with the instance option. This means:

  1. Advised to leave the Table OID value empty. = to avoid duplicate Get requests for the index.
  2. Do not add the SNMP definition in the column used as index. = this is filled in by the instance option.
  3. Add SNMP definitions to all other columns

<Param id="300" trending="false">

<Name>atTable</Name>

<Description>Address Translation Table</Description>

<Type>array</Type>

<ArrayOptions index="0">...</ArrayOptions>

<Information>...</Information>

<Interprete>...</Interprete>

<SNMP>

<Enabled>true</Enabled>

<OID type="complete"

options=";instance;multiplegetnext"></OID>

</SNMP>

<Display>...</Display>

<Measurement>...</Measurement>

</Param>

<Param id="301" trending="false">

<Name>atIndex</Name>

<Description>Index (Address Translation)</Description>

<Information>...</Information>

<Type>read</Type>

<Interprete>...</Interprete>

<Display>...</Display>

<Measurement>...</Measurement>

</Param>

In case you want to use the Get next + multiple get method with the instance option:

  1. Leave the Table OID value empty
  2. the options attribute on the Table OID should only contain ;instance
  3. Do not add the SNMP definition in the column used as index. = this is filled in by the instance option.
  4. Add SNMP definitions to all other columns

  <SNMP>

<Enabled>true</Enabled>

<OID type="complete"

options=";instance"></OID>

</SNMP>

Also don't forget that the ColumnOptions type of the table param should be "snmp"

<Param id="150" trending="false">

<Name>ifTable</Name>

<Description>Interfaces</Description>

<Type>array</Type>

<ArrayOptions index="0" options=";naming=/152">

<ColumnOption idx="0" pid="151" type="snmp" options="" />

<ColumnOption idx="1" pid="152" type="snmp" options="" />

<ColumnOption idx="2" pid="153" type="snmp" options="" />

<ColumnOption idx="3" pid="154" type="snmp" options="" />

</ArrayOptions>

Mieke Dryepondt [SLC] [DevOps Advocate] Answered question 13th July 2022
2
Jens Vandewalle [SLC] [DevOps Enabler]9.44K Posted 12th July 2022 1 Comment

Hi Robin,

Since you're using a wildcard, have you tried by specifying an ID as mentioned in the Docs?

Robin Becker [DevOps Advocate] Posted new comment 12th July 2022
Robin Becker [DevOps Advocate] commented 12th July 2022

Sorry for being unclear. The asterisk was just a placeholder for the vendor OID, not a wildcard.

1
Jeeva Suria Rajah [SLC] [DevOps Advocate]1.60K Posted 12th July 2022 1 Comment

Hi Robin,

Can you try other table retrieval methods? We have table retrieval methods as below:

  • GetNext
  • GetNext + MultipleGet
  • GetNext + MultipleGet by row
  • MultipleGetNext
  • MultipleGetBulk
  • Comparison

You may refer to the DataMiner Docs link for more information on the table retrieval method.

Robin Becker [DevOps Advocate] Edited comment 12th July 2022
Robin Becker [DevOps Advocate] commented 12th July 2022

Hi Jeeva. I did use that page when troubleshooting, I should have mentioned that in my initial post. All of the alternatives result in just one row being fetched except “multipleGetBulk” which returns nothing which is expected as devices use SNMPv1.

Also, unrelated but I get the “Unknown or malformed SNMP OID option ‘multipleget’.”-warning from the DIS plugin when using “GetNext + MultipleGet by Row”.

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

Recent questions

Alarm Dashboard PDF/CSV Export 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin