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
    • 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
      • 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)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • 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

Adhoc Automation – Using Saved Alarm Filter for Real-Time GQI Subscription (AlarmEventMessage)

Solved615 views6 days ago
1
Gina Douglas [DevOps Member]200 28th July 2025 2 Comments

Hi Skyline team,

I'm currently working on building a real-time updating table using GQI and automation. I'm trying to apply a saved alarm filter (created previously in the Alarm Console) to retrieve the initial set of alarms. I'm using a filter because the alarms are being generated by a correlation rule.

I'm using GetActiveAlarmsMessage filtered by name, as suggested in the documentation. However, it's not working as expected when I implement it through automation, I'm receiving all alarms instead of just the filtered ones.

Here's the snippet of code I'm using:

var filterItem = new AlarmFilterItemFilter(new[] { $"{_filter} (Saved filter)" });
var filter = new AlarmFilter(filterItem);
var msg = new GetActiveAlarmsMessage() { Filter = filter };

var alarmsResponse = _dms.SendMessage(msg) as ActiveAlarmsResponseMessage;
if (alarmsResponse != null)
{
return alarmsResponse.ActiveAlarms.WhereNotNull().ToList();
}

I took this code fragment from the original automation. I tested the entire automation on my DMA, but it's not working:

https://github.com/SkylineCommunications/SLC-GQIDS-ActiveAlarmsUsingFilter/blob/main/ActiveAlarmsUsingFilter_1/ActiveAlarmsUsingFilter_1.cs

I'm also trying to use that same saved filter to create a subscription to AlarmEventMessage so I can receive real-time updates when alarm changes happen. I'm doing it like this:

_subscriptionId = subscriptionId;

_subscriptionFilter = new SubscriptionFilter("AlarmEventMessage", new[] { "FoxDummyTesting" });

_connection.AddSubscription(subscriptionId, _subscriptionFilter);

_connection.Subscribe();

However, I haven’t been able to find documentation confirming whether using a saved/shared alarm filter by name like this is supported for subscriptions.

Could you please confirm if this is the correct way to subscribe using a named filter? Or is there a recommended approach or documentation you could point me to for this use case?

Thanks in advance,

Gina

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 6 days ago
Marieke Goethals [SLC] [DevOps Catalyst] commented 5th November 2025

I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer (using the ✓ icon) to indicate that no further follow-up is needed?

Marieke Goethals [SLC] [DevOps Catalyst] commented 6 days ago

As this question has now been inactive for a very long time, I will close it. If you still want more information about this, could you post a new question?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Peter Geivaerts [DevOps Advocate]308 Posted 30th July 2025 0 Comments

is it a Shared filter you're trying to use?
have you tried adding  " (shared filter)" at the end of your filtername?
That worked for me.

var filterItem = new AlarmFilterItemFilter(new[] { $"{filtername} (shared filter)" });
var filter = new AlarmFilter(filterItem);
var msg = new GetActiveAlarmsMessage() { Filter = filter };

var alarmsResponse = _dms.SendMessage(msg) as ActiveAlarmsResponseMessage;
if (alarmsResponse != null)
{
return alarmsResponse.ActiveAlarms.WhereNotNull().ToList();
}

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 6 days ago
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

© 2026 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