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
    • 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
    • Tutorials
    • 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
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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

How to Mask Alarms in Advance for Scheduled Maintenance?

Solved471 views21st February 2025Alarm Console alarm masking alarmings Masking
2
Jeeva Suria Rajah [SLC] [DevOps Advocate]1.60K 13th February 2025 0 Comments

I have a question from a user: Can we mask a row or multiple rows of a table in advance to prevent an alarm from being generated?

For example, in the image below, the user wants to perform testing or maintenance on the highlighted interface, which would normally trigger alarms. Before the alarm is generated, can the user mask that interface in advance so that no alarm is triggered or appeared in active alarm when testing or maintenance begins?

Is there any other way to suppress alarm generation for that interface beforehand, aside from the masking method?

Pieter Van Compernolle [SLC] [DevOps Enabler] Selected answer as best 21st February 2025

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Miguel Obregon [SLC] [DevOps Catalyst]18.56K Posted 13th February 2025 3 Comments

Hi Jeeva,

Adding an extra option to the previous answer (and as a last resort), you could potentially mask a row. This option is not available by default (it will need to be implemented in an automation script). Below a small demo:

Code snippet:

using Skyline.DataMiner.Automation;
using Skyline.DataMiner.Net;
using Skyline.DataMiner.Net.DataMinerObjectReferences;
using Skyline.DataMiner.Net.Enums;
using Skyline.DataMiner.Net.Messages;

/// <summary>
/// Represents a DataMiner Automation script.
/// </summary>
public class Script
{
/// <summary>
/// The script entry point.
/// </summary>
/// <param name="engine">Link with SLAutomation process.</param>
public void Run(IEngine engine)
{
Element element = engine.FindElement("TEST_ELEMENT");

int elementId = element.ElementId;
int dmaId = element.DmaId;
int tablePid = 1; /*Se the table PID*/
string tableIndex = "tableIndex"; /*Set the index of the row*/
string reasonMasking = "Test"; /*Reason for making */

MaskRow(engine, dmaId, elementId, tablePid, tableIndex, reasonMasking);
}

public static void MaskRow(IEngine engine, int dmaId, int elementId, int tablePid, string tableIndex, string reasonMasking)
{
DMAObjectRefTreeHelper helper = new DMAObjectRefTreeHelper();
helper.SetupHelper(engine.SendSLNetSingleResponseMessage);

// Define the row to be masked
RowID rowId = new RowID(dmaId, elementId, tablePid, 0, tableIndex);

helper.ChangeMaskInfo(
new Skyline.DataMiner.Net.DMAObjectRefTree(rowId),
new Skyline.DataMiner.Net.Masking.MaskInfo()
{
DoMask = true,
MaskType = MaskType.UntilUnmask,
Reason = reasonMasking,
},
new CPECrawlerConfiguration());
}
}

Hope it helps.

"Note that 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. We recommend to instead always use the correct UI or automation options provided in DataMiner Automation or through our web API."

Pieter Van Compernolle [SLC] [DevOps Enabler] Selected answer as best 21st February 2025
Alberto De Luca [DevOps Enabler] commented 13th February 2025

That's interesting – thanks for sharing, Miguel.

In this bespoke approach, are you removing the row or just masking an existing alarm?

Miguel Obregon [SLC] [DevOps Catalyst] commented 13th February 2025

Hi Alberto,
In the demo, I showcase the 'mask row' feature. By default, if a row is removed and then recreated with the same index, any alarm associated with that row will lose its masking state. In de the animation, you will notice that when the row (with the same index) is re-created, the masked state for the alarm persists.

Miguel Obregon [SLC] [DevOps Catalyst] commented 14th February 2025

Snipped added as reference.

1
Alberto De Luca [DevOps Enabler]4.58K Posted 13th February 2025 0 Comments

I believe the desired behaviour can be obtained, but with a slightly different approach.

1. Preventively mask the full element (but that means receiving NO alarms for any of the Parameters) - for a period of time (the maintenance window), so that when the planned work is over, if any alarms are still present, they can be promptly notified.

2. Changing the Alarm Template at scheduled times, so that the specific parameter is excluded from monitoring, during the maintenance - a bit of an overkill for just one interface... but possible - some VBxx0 integrations for DM used to have a built-in feature like this, e.g. to exclude from monitoring specific TV programs not aired over night, in order to prevent alarms when not required.

3. If the Protocol (and licensed capacity) allows "DVE creation" for each interface, then the DVE can be masked as in point 1 (gonna be a lot more elements, though)

In practice, to mask a specific alarm, without losing visibility over the rest of KPIs in the element, the alarm needs to be raised first - as an alarm ID is needed to mask a specific alarm.

HTH

Alberto De Luca [DevOps Enabler] Edited answer 13th February 2025
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

Recent questions

DOM Definition relations returned in Definition query 0 Answers | 0 Votes
Alarm Dashboard PDF/CSV Export 1 Answer | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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