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

How to parse SNMP DateAndTime OctetString directly in a parameter?

58 views1 day agodate format DateAndTime
2
Pedro Sánchez [DevOps Advocate]267 1 day ago 0 Comments

Hi all,

I'm having some issues trying to decode a DataTime value returned via SNMP from a device.

I receive 07.E9.0A.08.03.00.23.00.2B.02.00, which corresponds to 2025-10-08 03:00:35.0 +02:00.

I've tried several options but the correct one should be something like this:
<Interprete>
<RawType>numeric text</RawType>
<LengthType>next param</LengthType>
<Type>double</Type>
<Decimals>8</Decimals>
</Interprete>
<SNMP>
<Enabled>true</Enabled>
<OID type="complete">1.3.6.1.4.1.2928.6.2.7.1.2.4.1.4</OID>
</SNMP>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Alarm>
<Monitored>false</Monitored>
</Alarm>
<Measurement>
<Type options="datetime">number</Type>
</Measurement>

Is a QAction the only viable solution? or am I doing something wrong?
Thanks in advance!

João Severino [SLC] [DevOps Catalyst] Answered question 1 day ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
João Severino [SLC] [DevOps Catalyst]14.07K Posted 1 day ago 0 Comments

Hi Pedro,

That incoming data looks very similar to OctetString, however, I do not immediately recognize it as a standard format for OctetString, as it appears to have a concatenated version of each of the date and time components encoded in their hex counterparts.

You can try looking into configuring your parameter with SNMP.Type with one of the variants of OctetString documented here Type element | DataMiner Docs

However, I believe your best bet is to convert it in a QAction, as even if you can convert it into the corresponding value, it will not be the same as what a DateTime parameter expects. (reference: datetime options attribute | DataMiner Docs).

Hope this could be of help.

João Severino [SLC] [DevOps Catalyst] Answered question 1 day ago
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