AlarmInfo#

class lsst.ts.watcher.AlarmInfo(name, log)#

Bases: object

Placeholder with Alarm information.

name#

The name of the alarm.

Type:

str

severity#

The severity of the alarm.

Type:

int

reason#

The reason for the alarm.

Type:

str

max_severity#

The maximum severity of the alarm.

Type:

int

acknowledged#

Has the alarm been acknowledged?

Type:

bool

acknowledged_by#

The person who acknowledged the alarm.

Type:

str

escalated_id#

The escalated id of the alarm.

Type:

str

escalate_to#

The person the alarm was escalated to.

Type:

str

muted_severity#

The muted severity of the alarm.

Type:

int

muted_by#

The person who muted the alarm.

Type:

str

timestamp_severity_oldest#

The oldest timestamp of the alarm.

Type:

float

timestamp_severity_newest#

The newest timestamp of the alarm.

Type:

float

timestamp_max_severity#

Timestamp when the maximum alarm severity was set.

Type:

float

timestamp_acknowledged#

Timestamp when the alarm was acknowledged.

Type:

float

timestamp_auto_acknowledge#

Timestamp when the alarm was automatically acknowledged.

Type:

float

timestamp_auto_unacknowledge#

Timestamp when the alarm was automatically unacknowledged.

Type:

float

timestamp_escalate#

Timestamp when the alarm was escalated.

Type:

float

timestamp_unmute#

Timestamp when the alarm was unmuted.

Type:

float

do_escalate#

Escalate the alarm or not.

Type:

bool

Parameters:

Attributes Summary

callback

Get the callback function.

nominal

severity = max severity = NONE.

Methods Summary

Attributes Documentation

callback#

Get the callback function.

nominal#

severity = max severity = NONE.

When the alarm is in a nominal state, it should not be displayed in the Watcher GUI.

Type:

True if alarm is in nominal state

Methods Documentation

async set_from_data(data)#