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
    • 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
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Multi-Threaded SNMP Timers Issue

Solved1.97K views19th July 2023multithreaded OIDs SNMP SNMP tables
9
Saddam Zourob [DevOps Member]363 30th October 2020 2 Comments

Hi Everyone,

I am building a Multi-Threaded SNMP Driver that is able to retrieve SNMP tables. I am using the “:tablev2” suffix to define the table columns Parameter in the group. Also, I listed all the columns OIDs in the parameter that I am referencing in the group.

I have other tables that are working but some tables are coming back with: “Unable to retrieve the variable bindings (count=0, last error: 1)” message instead of the required data.

When I tried to remove some of the OIDs that are listed in the parameter, I discovered that some of the OIDs are causing the issue! However, I still get empty object arrays for the other OIDs that don’t show the error!

The group:

<Group id=”51000″ connection=”0″>
<Name>HP Power Supply</Name>
<Content multipleGet=”true”>
<Param>50400:tablev2</Param>
</Content>
</Group>

The Parameter:

<Param id=”50400″ trending=”false”>
<Name>PowerSupplyTable_SNMP_OIDs</Name>
<Description>PowerSupply Table SNMP</Description>
<Type options=”loadOID”>read</Type>
<Interprete>
<RawType>other</RawType>
<LengthType>next param</LengthType>
<Type>string</Type>
</Interprete>
<SNMP>
<Enabled>true</Enabled>
<OID type=”complete”>
1.3.6.1.4.1.232.6.2.9.3.1.1;
1.3.6.1.4.1.232.6.2.9.3.1.3;
1.3.6.1.4.1.232.6.2.9.3.1.4;
1.3.6.1.4.1.232.6.2.9.3.1.5;
1.3.6.1.4.1.232.6.2.9.3.1.6;
1.3.6.1.4.1.232.6.2.9.3.1.7;
1.3.6.1.4.1.232.6.2.9.3.1.8;
1.3.6.1.4.1.232.6.2.9.3.1.9;
1.3.6.1.4.1.232.6.2.9.3.1.13
</OID>
</SNMP>
</Param>

To solve this issue, I am currently polling each column as a table instead of having all columns under one parameter, which I think is not the best effective solution.

Thanks,

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th July 2023
Saddam Zourob [DevOps Member] commented 30th October 2020

I have just done a test on one of the HP ProLiant DL380 G7 servers and I was able to get a response using the method mentioned in the question. However, the returned columns are still empty.

The other servers that failed are HP ProLiant DL360 Gen9 and HP ProLiant DL360 Gen10.

The only solution that worked so far is to work with each column as a separate SNMP table.

Marieke Goethals [SLC] [DevOps Catalyst] commented 19th July 2023

As this question has been inactive for a long time, we will now close it. If you still want further assistance, could you post a new question?

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
6
Jelle Hoorne [SLC] [DevOps Member]197 Posted 2nd November 2020 4 Comments

Hi,

Can you please confirm again that you actually have the OID’s defined in a single line? I understand that you already tried this before without any success but you also mentioned that it didn’t make any difference. I just want to emphasize that it actually does make a difference and it’s important that they are defined in a single line.

I did a quick test locally and when I define the OID’s on multiple lines only the first column retrieves data, all others columns are empty (like you mention)

Result:

However when defining the OID’s on a single line all columns are retrieved correctly:

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th July 2023
Saddam Zourob [DevOps Member] commented 4th November 2020

Hi Jelle,
I was testing the full list of the OIDs in the same parameter in the same line which then gave me the error because of some of the OIDs. I then separated them on different lines and checked wich OIDs were causing the error; which then caused the issue of getting empty responses!

So the solution now is to have two groups of OIDs that are listed at the same line in their parameters to get the table contents. I could not get all the required columns under the one parameter as they should be. This is still an issue but I have a better solution with less number of calls to the clients!

Thanks

Saddam Zourob [DevOps Member] commented 4th November 2020

After few other tests, I found that the list of OIDs of the columns that are listed under the Param (a parameter with “:tablev2” suffix) has to have 5 columns at max. If you exceed that number, you will get the error.

I had to split the columns into different group considering the found limitation. I think this could be a bug of DM.

Jelle Hoorne [SLC] [DevOps Member] commented 4th November 2020

I’ve adjusted my test protocol to match yours: Every column now has it’s own loadOID-parameter, all column parameters (7 in total) have been added to a group with the tablev2 suffix. Data is still retrieved correctly for all columns.
Could you let me know which DataMiner version you are using?

Saddam Zourob [DevOps Member] commented 4th November 2020

I am on 9.6.10.

The scenario that gets the error is: list all OIDs in the same single parameter and add the parameter to a group and with the “tablev2” suffix. If the number of OIDs is greater than 5, I get the error mentioned in the question.

3
Laurens Moutton [SLC] [DevOps Enabler]8.74K Posted 30th October 2020 4 Comments

Hi, could you try by putting all the oids in one line in the parameter definition?
<OID type=”complete”>1.3.6.1.4.1.232.6.2.9.3.1.1;1.3.6.1.4.1.232.6.2.9.3.1.3;1.3.6.1.4.1.232.6.2.9.3.1.4;1.3.6.1.4.1.232.6.2.9.3.1.5;1.3.6.1.4.1.232.6.2.9.3.1.6;1.3.6.1.4.1.232.6.2.9.3.1.7;1.3.6.1.4.1.232.6.2.9.3.1.8;1.3.6.1.4.1.232.6.2.9.3.1.9;1.3.6.1.4.1.232.6.2.9.3.1.13</OID>

Laurens Moutton [SLC] [DevOps Enabler] Posted new comment 30th October 2020
Saddam Zourob [DevOps Member] commented 30th October 2020

I have already tested that and it does not make any difference. The ones that are working are all stacked in the same structure.

I have added them in new lines to spot any differences in the OIDs.

Laurens Moutton [SLC] [DevOps Enabler] commented 30th October 2020

The syntax that you’re using seems to be correct at first sight.
Could you explain a bit more when you write that you get empty object arrays for OIDs that don’t show the error, and on the other side you’re polling each column as a table as a workaround? Do you mean that polling one column works (also to process the data, no empty object array) and as soon as there are more columns that it’s not working anymore?

Saddam Zourob [DevOps Member] commented 30th October 2020

It will only work if I define a parameter for each column and then list all parameters in the group and add “:tabelv2” as a suffix to each of these columns. I then get the results of all columns but with an instance array at index 0 in every response/table.

If I remove the OIDs that cause the return of the error from the single parameter, I get the instance in index 0 and the other arrays are empty.

Laurens Moutton [SLC] [DevOps Enabler] commented 30th October 2020

Would it be possible to take a Wireshark capture when polling one device and check what data is entering when all OIDs are specified in one line in the driver? I would be interested to see what packets DataMiner is sending and what the reply of the device is.

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