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

Protocol: Detecting when an SNMP table result is an empty array.

Solved1.17K views18th July 2024
7
Sam Stump [DevOps Advocate]616 5th January 2024 2 Comments

Within a protocol I want to detect when an SNMP table result is an empty array.

When this condition is discovered I will use QAction to update a standalone parameter to alert of the null data response from the array.

When the parameter is receiving data, I'll update the other parameter again

What's the best way to detect a returned empty snmp arrays in a protocol?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th July 2024
Marieke Goethals [SLC] [DevOps Catalyst] commented 31st May 2024

Hi Sam,
Have you been able to find a solution for this yet? If the answers below helped, could you select the most helpful answer, or if you found another solution altogether, could you let us know? If you still need help with this, could you answer the questions Laurens asks in the comment of January 19th?

Marieke Goethals [SLC] [DevOps Catalyst] commented 18th July 2024

As this question has now been open for a long time and there has been no further reaction from you, I will now close it. If you still want more information about this, could you post a new question?

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Joshua Wong [SLC] [DevOps Enabler]431 Posted 5th January 2024 1 Comment

Hi Sam,

I would use the following NT Notify Type NT_GET_TABLE_COLUMNS (321) | DataMiner Docs to get the table columns. You can retrieve the primary key column for table 6001 and if it's empty, continue with setting parameter 3005 as "NULL DATA".

Sam Stump [DevOps Advocate] Posted new comment 11th January 2024
Sam Stump [DevOps Advocate] commented 11th January 2024

Thanks for the reply.

Unfortunately a snmp table response of zero does not mean the table will be empty so this example doesn’t work.

See example https://samstump.com/dma/snmptableresponse.png

After the element returns from a timeout the existing rows are retained till new data is retrieved through snmp poll – so even though the snmp table response is empty there are still primary keys returning on this one.

You are viewing 1 out of 3 answers, click here to view all answers.
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

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