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

Limit maximum number of rows in SNMP request

Solved1.13K views24th March 2021SNMP
1
Fenta Alemahu [SLC] [DevOps Enabler]1.10K 24th March 2021 0 Comments

Hi all,

Is it possible to limit the maximum number of rows I would like to request in SNMP tables? I want to poll only x number of rows from the SNMP data source.

Fenta Alemahu [SLC] [DevOps Enabler] Selected answer as best 24th March 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
5
Laurens Moutton [SLC] [DevOps Enabler]8.78K Posted 24th March 2021 1 Comment

It’s not possible to request to only return a number of rows without prior knowledge of the table.

What you could do is request all instances in a separate hidden table and then in the displayed table use a subtable and only include the instances (limited to a number) that you’re interested in.

It is strange though that there is a need to limit this: why limiting to a number of rows? Why would you like to display eg only the first 10 rows and ignore the other ones? It would make more sense if the request would be to limit the request to rows where a column matches a certain value (ie only display rows of a certain type)

Fenta Alemahu [SLC] [DevOps Enabler] Selected answer as best 24th March 2021
Fenta Alemahu [SLC] [DevOps Enabler] commented 24th March 2021

Hi Laurens,
Thank you for the feedback. The reason for limiting the maximum number of rows is that I am working on a driver for a monitoring and control system. The system has a list of device types that it can monitor/control. I want to check whether there is a device of a specific type and assign Present/Not Present state. To do so, I need to request data with a certain table OID (this table has a list of the parameters for that specific device) but I don’t want to poll all the rows (only 1 or 2 rows) to check the presence of a device.

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