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
  • Blog
  • 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
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

c# Script that retrieves historical alarms

Solved303 views22nd November 2024Automation script C++ history alarms
0
Curtis Baiden [DevOps Advocate]494 22nd November 2024 0 Comments

Can anyone point me in the direction of an automation script example of pulling historical alarms from Dataminer.

Curtis Baiden [DevOps Advocate] Selected answer as best 22nd November 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
José Silva [SLC] [DevOps Catalyst]1.32K Posted 22nd November 2024 5 Comments

Hi Curtis,

You can see below an example that can be used to retrieve historical alarms:

Side note: This is an internal call and we do not recommend using this, as it is not officially supported and we cannot guarantee that it will still work in the future. As a rule, you should avoid using SLNet calls, as these are subject to change without notice.

Curtis Baiden [DevOps Advocate] Posted new comment 27th November 2024
Curtis Baiden [DevOps Advocate] commented 22nd November 2024

thank you

José Silva [SLC] [DevOps Catalyst] commented 22nd November 2024

No problem 😉

Curtis Baiden [DevOps Advocate] commented 22nd November 2024

apologies Jose, I did not read the side note. If this is not officially supported is the there another way. I will be implementing the code in a production system that's why I ask. Better to be safe than sorry

José Silva [SLC] [DevOps Catalyst] commented 22nd November 2024

To the best of my knowledge, I don’t see any other way. I only mentioned it because if the SLNet call changes in the future, it might require some adjustments.

As far as I know, there isn’t a method that encapsulates the SLNet call in such a way that you could use something like GetHistoricalAlarms() where the implementation details are hidden from the user. This would ensure that even if the underlying implementation changes, the user still gets the same result

Curtis Baiden [DevOps Advocate] commented 27th November 2024

thanks José.
May I ask how I can filter alarms on alarm properties matching wildcard expressions. I would look in the documentation but Im having trouble finding the relevant information.

You are viewing 1 out of 1 answers, click here to view all answers.
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