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
    • 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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about 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)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Scaling/Divisor when device modifies value (×2)

Solved33 views2 minutes ago
0
Greisen Gustiantoro [DevOps Member]462 7 hours ago 0 Comments

Hi Dojo,

In my case, when I send a value to a remote device, the device internally multiplies the value by 2.

For example:
If I SET 10, a subsequent SNMP GET returns 20.

So what I would like to achieve is,
When I enter 20 in DataMiner, the system should send 10 to the device.
This way, after the device applies its internal multiplication, the returned value (20) matches what the user expects.

Essentially, I need to apply a kinda divisor of 2 before sending the SNMP SET, while keeping the displayed/read value unchanged.

Any guidance or examples would be greatly appreciated.

Best Regards,

Greisen Gustiantoro [DevOps Member] Selected answer as best 2 minutes ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Laurens Moutton [SLC] [DevOps Enabler]9.65K Posted 7 hours ago 1 Comment

Hi,

This can be achieved by specifying a Sequence on the SNMP write parameter.

In this case, specify <Sequence noset="true">div:2</Sequence> , which will divide the value by 2 before sending it to the device. As the read value should remain unchanged, the read parameter does not need to be modified.

Note that for standalone write parameters, a sequence only works when using snmpSetAndGet to set the value.
For table column write parameters, a sequence only works when using the snmpSet option to set the value.

If above is not workable, an alternative could be to first intercept the value with a QAction, divide the value in half, then perform the set with the modified value on a hidden SNMP parameter.

More info about Sequence can be found here

Regards,

Greisen Gustiantoro [DevOps Member] Selected answer as best 2 minutes ago
Greisen Gustiantoro [DevOps Member] commented 3 minutes ago

Hi Laurens,

I put

<Param id="22" options="snmpSetAndGetWithWait">
<Type>write</Type>

It works with the Sequence noset

Thanks

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

© 2026 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