Method AcknowledgeAlarm
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
AcknowledgeAlarm(int, int, string)
Acknowledges the specified alarm tree using the provided comment message.
public void AcknowledgeAlarm(int dataMinerID, int alarmID, string comment)
Parameters
Examples
engine.AcknowledgeAlarm(7, 304022, "Alarm acknowledged.");
Remarks
If a user launches the script manually or attaches to it interactively, that user will become the owner of the alarm. If the script runs in the background, the alarm owner will become “Administrator”.
AcknowledgeAlarm(int, int, int, string)
Acknowledges the specified alarm tree using the provided comment message.
public void AcknowledgeAlarm(int dataMinerID, int elementID, int alarmID, string comment)
Parameters
dataMinerID
intThe DataMiner Agent ID.
elementID
intThe element ID.
alarmID
intThe alarm ID.
comment
stringA comment.
Examples
engine.AcknowledgeAlarm(7, 400, 304022, "Alarm acknowledged.");
Remarks
If a user launches the script manually or attaches to it interactively, that user will become the owner of the alarm. If the script runs in the background, the alarm owner will become “Administrator”.