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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • 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

Get Alarms in Automation

95 views3 days agoalarms Automation
0
Ross Elliott [DevOps Advocate]823 15th August 2025 0 Comments

Hi, I'm looking for a method in automation of getting alarms for Elements. Is there a way of getting a table of alarms over a historical time period from the system? I need this to be in a script rather than a dashboard or LCA because based on the data I'll be carrying out further automation and config of Elements. Correlation is probably an option but I'd rather full control if it's possible. I think I've searched through docs but nothing is standing out to me at the moment. Thanks.

Matthijs Favorel [SLC] [DevOps Advocate] Answered question 3 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Matthijs Favorel [SLC] [DevOps Advocate]2.24K Posted 3 days ago 0 Comments

Hi Ross,

To get Historic alarms in an automation script there are 2 ways:

  • Using the AlarmRepository, see this example for a GQI DataSource, but it can be used in a very similar way in automation scripts.
  • Using the GetAlarmDetailsFromDbMessage:

var message = new GetAlarmDetailsFromDbMessage
{
StartTime = start,
EndTime = end,
Filter = new Skyline.DataMiner.Net.Filters.AlarmFilter(),
AlarmTable = true,
};

var responses = engine.SendSLNetMessage(message);

This will return an array of AlarmEventMessages.

Matthijs Favorel [SLC] [DevOps Advocate] Answered question 3 days ago
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