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

Conditional Custom Command in the Alarm Console shortcut.

Solved876 views4th December 2023
7
Pedro de Lima [DevOps Advocate]612 24th November 2023 0 Comments

Hi all,

I am trying to define a custom command with Hyperlinks.xml, that only gets displayed in the shortcut of the Alarm Console when the Parameter of the Alarm row contains a specific string, in my case, “Severity (Channel Events Overview)”.

I am trying to get the job done with the attribute “filterElement”, like below.

        filterElement=”AlarmEventMessage.ParameterName == Severity (Channel Events Overview)”

However, I am not succeeding. Any ideas?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 4th December 2023

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Jeroen Neyt [SLC] [DevOps Advocate]2.35K Posted 1st December 2023 0 Comments

In cases where the alarm is generated on a cell in a table, the ParameterName property will contain the row index as well. (e.g: Severity (Channel Events Overview) Channel B).

As a result there will never be an exact match as defined in the filter. For those scenarios you can use a contains instead.

filterElement=”AlarmEventMessage.ParameterName contains Severity (Channel Events Overview)”

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 4th December 2023
4
Pedro de Lima [DevOps Advocate]612 Posted 27th November 2023 7 Comments

Hi Jeroen,

I follow the steps from the user guide;  https://docs.dataminer.services/user-guide/Basic_Functionality/Alarms/Advanced_alarm_functionality/Adding_a_custom_command_to_the_Alarm_Console_shortcut_menu.html

Without the filterElement attribute, the custom command appears in the shortcut menu. When I add the filterElement attribute it does not appear even though I am selecting an alarm that appeared after the Hyperlink.xml synchronisation and the parameter of the alarm row is “Severity (Channel Events Overview)”.

This is my entry in the Hyperlinks.xml:

<HyperLink id=”1″ version=”2″ name=”Send Email” menu=”root/Email Test” filterElement=”AlarmEventMessage.ParameterName == Severity (Channel Events Overview)” type=”script” alarmColumn=”false”>Script:Hyperlinks test|Element=[DMAID]/[EID]|Parameter=[PNAME]||Hyperlinks Test|NoConfirmation</HyperLink>

Jeroen Neyt [SLC] [DevOps Advocate] Posted new comment 1st December 2023
Jeroen Neyt [SLC] [DevOps Advocate] commented 28th November 2023

That is odd! Out of curiosity, I’ve executed the exact same test with a sample element containing a parameter with the name Severity (Channel Events Overview) and I do seem to get it working with the hyperlink that you provided. On which DataMiner version are you trying this? Perhaps I can look if there used to be known issues with this functionality.

Pedro de Lima [DevOps Advocate] commented 29th November 2023

Hi Jeroen, we are running DataMiner version 10.3.9.0-13347-CU2.

Jeroen Neyt [SLC] [DevOps Advocate] commented 30th November 2023

I double checked that version and there are no known issues that might explain why it would not be working.

In the documentation that you linked, I do see the following important notes:

“In case DataMiner Cube was open while you edited the settings, the changes will only be applied after you close and reopen Cube.”

Did you do that after syncing the file through System Center?

And then I also noticed the following:

“Even after a forced synchronization, the hyperlinks you added or updated will only be visible when you right-click an alarm raised after the update of the Hyperlinks.xml file.”

Which might be important as well. Do you have the possibility to clear those alarms and recreate them again to see if then you have the custom command available?

Pedro de Lima [DevOps Advocate] commented 30th November 2023

Yes, I did all that and it did not show up.
To be sure I just did it all again but had no success.

Jeroen Neyt [SLC] [DevOps Advocate] commented 30th November 2023

What’s the name and version of the connector you’re testing this with? I would give it a try with the same one to see if I’m missing something.

Show 2 more comments
1
Jeroen Neyt [SLC] [DevOps Advocate]2.35K Posted 24th November 2023 0 Comments

That filter looks about right to me for what you are trying to achieve! So we will have to look at something else that might be off.

Can you verify that the rest of the content of the HyperLinks.xml file is correct and that it contains valid xml? Also did you restart the agent after making changes to that file?

Jeroen Neyt [SLC] [DevOps Advocate] Answered question 24th November 2023
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