Table of Contents

Method SetAlarmProperty

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

SetAlarmProperty(int, int, string, string)

Updates a custom alarm property.

public void SetAlarmProperty(int dataMinerID, int alarmID, string propertyName, string propertyValue)

Parameters

dataMinerID int

The DataMiner Agent ID.

alarmID int

The alarm ID.

propertyName string

The property name.

propertyValue string

The value to set.

Examples

engine.SetAlarmProperty(200, 521655, "Property A", "Value A");

Remarks

note

  • In DataMiner versions prior to 9.0, this method cannot be used to override alarm property values that are defined in the element protocol.
  • When an alarm property value has been defined in the element protocol and this method is used to explicitly assign a new value to the property, the new value will only be retained until the severity of the alarm changes. After this, the value from the protocol is used again.

SetAlarmProperty(int, int, int, string, string)

Updates a custom alarm property.

public void SetAlarmProperty(int dataMinerID, int elementID, int alarmID, string propertyName, string propertyValue)

Parameters

dataMinerID int

The DataMiner Agent ID.

elementID int

The element ID.

alarmID int

The alarm ID.

propertyName string

The name of the property.

propertyValue string

The value to set.

Remarks

note

  • In DataMiner versions prior to 9.0, this method cannot be used to override alarm property values that are defined in the element protocol.
  • When an alarm property value has been defined in the element protocol and this method is used to explicitly assign a new value to the property, the new value will only be retained until the severity of the alarm changes. After this, the value from the protocol is used again.