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

Adding row to SMIv2 Table

Solved1.13K views22nd July 2021SNMP
3
Maxim Bouckaert [SLC] [DevOps Member]169 14th July 2021 0 Comments

Hello Dojo-community.

I’m currently working on a driver where I have to get/set a configuration XML using an SNMP table.
The XML is split up into chunks of 5000 characters. For each chunk, a row is added in the configuration table.

Getting seems to be working fine (fetch the table, join all xml-cells and then parse the xml).

Setting seems to be giving me some issues, as the adjusted xml is bigger than the original xml (because we added certain settings). Because of this, we have to add an extra row in this SNMP-table. When setting columns using notifyprotocol 220, no rows seem to be added.

The table seems to have a status column, with possible values:

  • active

  • NotInService

  • notReady

  • createAndGo

  • createAndWait

  • destroy

When searching for more info, I found the following:

For SMIv2 tables, a new row can be added in three ways:

  • CreateAndWait

  • CreateAndGo using Multiple-Variable Set

  • CreateAndGo using SNMP table UI

What would be the best method to use in dataminer? And how to go about this? Can we use createAndGo in dataminer or are table cells for one row not set all at once when using 220 calls? Do I have to use setrow instead?

Does anyone know how to best handle this situation?

Maxim Bouckaert [SLC] [DevOps Member] Selected answer as best 22nd July 2021

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
4
Jorge Dias [SLC] [DevOps Enabler]4.78K Posted 15th July 2021 0 Comments

Hi,

As Laurens said you need to execute SNMP set to add you new row.

For that you need to trigger an action of type Set on and SNMP group.

<Action id=”10103″>
<Name>ITS Src TTP Create Set Group</Name>
<On id=”10103″>group</On>
<Type>set</Type>
</Action>

Then your group needs to contain all parameters that you need to set, entire row including the row status parameter.

<Group id=”10103″>
<Name>ITS Src TTP Create and Configure</Name>
<Description>ITS Src TTP Create and Configure</Description>
<Type>poll</Type>
<Content>
<Param>10103</Param>
<Param>10115</Param>
<Param>10105</Param>
<Param>10107</Param>
<Param>10111</Param>
</Content>
</Group>

Then you need to repoll the table, so it gets updated in dataminer.

Maxim Bouckaert [SLC] [DevOps Member] Selected answer as best 22nd July 2021
2
Laurens Moutton [SLC] [DevOps Enabler]8.74K Posted 15th July 2021 0 Comments

Hi,

A NotifyProtocol 220 is intended to set columns of type “retrieved”. This is for columns that you’re filling in with data coming from a QAction not with data from the device or on snmp columns.

In your case you need to send data to the actual device through SNMP. That means that you need to execute SNMP sets on the (probably chosen) new instance of the row to be created with the data that you want. After these sets are done then poll the table through SNMP, like is usually done, to let it fill in the created data in the parameter table.

Laurens Moutton [SLC] [DevOps Enabler] Answered question 15th July 2021
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