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

Add Comment to an Alarm

Solved623 views18th January 2024
0
Aditiben Desai [DevOps Member]372 10th January 2024 0 Comments

Hello,

I am trying to add a comment to an active alarm using API call. The comment gets updated in the comment column but when I pull Alarm details after adding comment, the comments doesn’t show up in alarm details.

Looking for possible solution to this.

Thanks

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th January 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Wim Bruynooghe [SLC] [DevOps Advocate]6.59K Posted 11th January 2024 0 Comments

When adding a comment, a new alarm (with a new alarm ID) gets created. This new alarm has the same root alarm ID of the previous alarm. Using the root alarm ID you can call the GetAlarmHistory API method to get the alarm ID of the most recent alarm, and then call GetAlarmDetails with this alarm ID, this response should include the comments.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th January 2024
0
Aditiben Desai [DevOps Member]372 Posted 12th January 2024 2 Comments

I tried using Root Alarm ID for Get Alarm Details API call but the comment doesn’t shows up. If I use the latest alarm ID which gets updated after adding a comment then using that alarm ID only the comment shows up.

Is there a way to get the new alarm ID after adding a comment ?

Aditiben Desai [DevOps Member] Posted new comment 15th January 2024
Wim Bruynooghe [SLC] [DevOps Advocate] commented 15th January 2024

Yes, that’s what I tried to explain with my previous answer:
1) After adding the comment, with GetAlarmHistory you can get the new alarm ID
2) With this new alarm ID call GetAlarmDetails

Aditiben Desai [DevOps Member] commented 15th January 2024

Is, there an automated way to get a new alarm ID after adding a comment ? Or manually we have to keep a track of new alarm ID which gets generated ?

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