Table of Contents

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

dataMinerID int

The DataMiner Agent ID.

alarmID int

The alarm ID.

comment string

A comment.

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 int

The DataMiner Agent ID.

elementID int

The element ID.

alarmID int

The alarm ID.

comment string

A 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”.