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

How to Get alarm properties from the active alarm console in automation script

Solved310 views16th April 2025automation scripts
0
Jurica Gajski140 15th April 2025 0 Comments

Dear Madame and Sirs,

Is it possible to discover in automation script (with C# classes) which alarm is selected (with mouse) in the active alarm console, and is it possible to read its properties (element name, parameter description, value, time, root time, severity, service impact … )?  If it is, how to do it?

Thank you!

Jurica Gajski Selected answer as best 16th April 2025

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Ive Herreman [SLC] [DevOps Enabler]13.59K Posted 16th April 2025 1 Comment

Starting a new answer so i can add a screenshot

Hi Jurica,

There is no need to manually enter the link to the alarm.

If you create (or update) the hyperlinks.xml file in the ‘c:\skyline dataminer\’ folder on your dataminer server, you will get a new item in the right-click menu of your alarm.

In this example, it’s called “send mail”, but you can choose any name (defined in the hyperlinks.xml file).

The screenshot below shows the result of the configuration in the hyperlinks.xml file.

The mapping between the script parameters and the properties of your alarm is automatically done based on the hyperlinks.xml config.

e.g.

Please also have a look at the documentation on the hyperlinks.xml file here:

https://docs.dataminer.services/user-guide/Reference/Skyline_DataMiner_Folder/More_information_on_certain_files_and_folders/Hyperlinks_xml.html

Do keep in mind that a restart of the dataminer server is required after modifying the hyperlinks.xml file.

Jurica Gajski Posted new comment 16th April 2025
Jurica Gajski commented 16th April 2025

Hi Ive,

Yes, that is. Thank you very much for your excellent description and great patient!.
Have nice day!

0
Ive Herreman [SLC] [DevOps Enabler]13.59K Posted 16th April 2025 1 Comment

Hi Jurica,

Thank you for the detailed information.
Based on the info you provided, I believe the hyperlinks.xml approach would be the best option for you.

Your hyperlinks file could look something like this:

Your automation script could then look something like the example below.
Please note that the example doesn’t send the mail; it just generates an information event with the info from the alarm.

Jurica Gajski Posted new comment 16th April 2025
Jurica Gajski commented 16th April 2025

Hi Ive,

With suggested script code we must fill the Parameters (DmaId, AlarmID, ElementName, Severity ) with hand. Is it possible to fill it automatically in the script with c# code ? We want to read it automatically from selected alarm row. We don't want to write it manually.

0
Ive Herreman [SLC] [DevOps Enabler]13.59K Posted 15th April 2025 1 Comment

Hi Jarica,

Can you please provide some more context on what you’d like to achieve?

It’s likely that multiple users are connected, so that would be the first challenge.
It’s also possible to have multiple alarm tabs open at the same time, so there could be multiple alarms that are selected.

If we can better understand your use-case, we might help you find the best possible solution.

e.g. you can use the hyperlinks.xml file to add an extra option to the context menu of the alarm console, which can trigger a script and pass on the info from the selected alarm (more info here).

Jurica Gajski Posted new comment 16th April 2025
Jurica Gajski commented 16th April 2025

Hi Ive,

Thank you.
We would like to extend option in the context menu of the alarm console, in the Cube, with “send e-mail” extra option. Idea is when operator with “left mouse click” select one alarm in the active alarms console, then with “right click mouse” from extended menu select “send e-mail”. “Send e-mail” extra option will invoke automation script in which with c# code would be created and formatted e-mail in format adjusted for further automatic analysing in another system outside Dataminer. For that purpose, in automation script, from the alarm which operator was select, we must read some properties.

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