AlarmRule#
Note
This page is generated by python script generate_cet.py.
Commands#
acknowledge#
Description: Acknowledge the alarm of the rule.
- EFDB_Topic:
AlarmRule_command_acknowledge
alarmName#
- IDL_Type:
string
- Units:
unitless
Description: Name of alarm or alarms to acknowledge. Specify a regular expression for multiple alarms.
severity#
- IDL_Type:
int
- Units:
unitless
Description: Severity level being acknowledged. An AlarmSeverity enum.
acknowledgedBy#
- IDL_Type:
string
- Units:
unitless
Description: User who acknowledged the alarm.
configure#
Description: Configure an alarm rule.
- EFDB_Topic:
AlarmRule_command_configure
config#
- IDL_Type:
string
- Units:
unitless
Description: Configuration as yaml text that is parsed to make a keyword argument dict for the alarm rule’s configure method.
mute#
Description: Mute the alarm of the rule.
- EFDB_Topic:
AlarmRule_command_mute
alarmName#
- IDL_Type:
string
- Units:
unitless
Description: Name of alarm or alarms to mute. Specify a regular expression for multiple alarms.
muteDuration#
- IDL_Type:
float
- Units:
second
Description: Duration of mute.
severity#
- IDL_Type:
int
- Units:
unitless
Description: Severity level being muted. An AlarmSeverity enum.
mutedBy#
- IDL_Type:
string
- Units:
unitless
Description: User who muted the alarm.
run#
Description: Run the alarm rule.
- EFDB_Topic:
AlarmRule_command_run
stop#
Description: Stop the alarm rule.
- EFDB_Topic:
AlarmRule_command_stop
unacknowledge#
Description: Unacknowledge the alarm of the rule.
- EFDB_Topic:
AlarmRule_command_unacknowledge
alarmName#
- IDL_Type:
string
- Units:
unitless
Description: Name of alarm or alarms to unacknowledge. Specify a regular expression for multiple alarms.
unmute#
Description: Unmute the alarm of the rule.
- EFDB_Topic:
AlarmRule_command_unmute
alarmName#
- IDL_Type:
string
- Units:
unitless
Description: Name of alarm or alarms to unmute. Specify a regular expression for multiple alarms; “.*” to unmute all alarms.
setLogLevel#
Description: Set the logging level.
- EFDB_Topic:
SALGeneric_command_setLogLevel
- Category:
csc
level#
- IDL_Type:
int
- Units:
unitless
Description: Logging level, as a Python logging level: error=40, warning=30, info=20, debug=10.
subsystem#
- IDL_Type:
string
- Units:
unitless
Description: If this CSC itself has sub-ordinate components, they may be listed here. An empty string means the setting applies to all such sub-ordinate components, or just to this CSC itself.
Enumerations#
- AlarmRuleState:
Unconfigured
Configuring
Configured
Running
Ending
Stopping
Failing
Stopped
Failed
ConfigureFailed
Events#
alarm#
Description: AlarmRule alarm.
- EFDB_Topic:
AlarmRule_logevent_alarm
alarmName#
- IDL_Type:
string
- Units:
unitless
Description: Name of alarm.
severity#
- IDL_Type:
byte
- Units:
unitless
- Enumeration:
NONE,WARNING,SERIOUS,CRITICAL
Description: An AlarmSeverity enum indicating the alarm rule severity.
reason#
- IDL_Type:
string
- Units:
unitless
Description: The reason for the alarm.
maxSeverity#
- IDL_Type:
int
- Units:
unitless
- Description: The maximum severity seen for this alarm.
Reset to
AlarmSeverity_Noneif alarm is aknowledged while theseverityisAlarmSeverity_None. An AlarmSeverity enum.
acknowledged#
- IDL_Type:
boolean
- Units:
unitless
- Description: Has this alarm been acknowledged? true=yes, false=no.
Irrelevant if
severityandmaxSeverityare bothAlarmSeverity_None.
acknowledgedBy#
- IDL_Type:
string
- Units:
unitless
- Description: User who acknowledged the alarm.
Irrelevant if
acknowledgedis false.
escalatedId#
- IDL_Type:
string
- Units:
unitless
- Description: Blank if escalation not attempted.
The ID of the OpsGenie alert, if successfully escalated. “Failed: (…reason…)” if escalation was attempted and failed.
escalateTo#
- IDL_Type:
string
- Units:
unitless
Description: Designated responder, should this alarm be escalated. Blank if this alarm will never be escalated.
mutedSeverity#
- IDL_Type:
long
- Units:
unitless
- Description: Severity at which this alarm is muted.
A value of
AlarmSeverity_Nonemeans not muted. Ifseverity ≤ mutedSeveritythen the alarm is considered muted and should not be displayed by default.
mutedBy#
- IDL_Type:
string
- Units:
unitless
- Description: User who muted the alarm.
Irrelevant if
mutedSeverityisAlarmSeverity_None.
timestampSeverityOldest#
- IDL_Type:
double
- Units:
second
Description: Time at which severity was originally set to its current value.
timestampSeverityNewest#
- IDL_Type:
double
- Units:
second
Description: Time at which severity was most recently found to still have its current value.
timestampMaxSeverity#
- IDL_Type:
double
- Units:
second
Description: Time at which maxSeverity was last changed.
timestampAcknowledged#
- IDL_Type:
double
- Units:
second
Description: Time at which acknowledged was last changed.
timestampAutoAcknowledge#
- IDL_Type:
double
- Units:
second
- Description: Time at which the alarm will be automatically acknowledged if still stale (not active and not acknowledged).
0 if not relevant in this state or the alarm does not support automatic acknowledgement of stale alarms.
timestampAutoUnacknowledge#
- IDL_Type:
double
- Units:
second
Description: Time at which the alarm will be automatically unacknowledged if still active. 0 if not relevant in this state or the alarm does not support automatic unacknowledgement.
timestampEscalate#
- IDL_Type:
double
- Units:
second
- Description: Time at which the alarm was or will be escalated to backup personnel (if
escalatedis true or false, respectively). 0 if not relevant in this state or the alarm does not support escalation.
timestampUnmute#
- IDL_Type:
double
- Units:
second
- Description: Time at which the alarm will be unmuted.
Irrelevant if
mutedSeverity = AlarmSeverity_None.
description#
Description: Alarm name, description, and a list of the remotes it uses – basically metadata that does not usually depend on configuration.
- EFDB_Topic:
AlarmRule_logevent_description
alarmName#
- IDL_Type:
string
- Units:
unitless
Description: Name of alarm.
description#
- IDL_Type:
string
- Units:
unitless
Description: Brief description of the alarm rule.
remotes#
- IDL_Type:
string
- Units:
unitless
Description: Names of remote SAL components used by the alarm rule as a comma-separated list. Each name is appended with :<index> if the component is indexed (and possibly with :0 if not indexed).
state#
Description: AlarmRule state.
- EFDB_Topic:
AlarmRule_logevent_state
alarmName#
- IDL_Type:
string
- Units:
unitless
Description: Name of alarm.
state#
- IDL_Type:
byte
- Units:
unitless
- Enumeration:
Unconfigured,Configured,Running,Paused,Ending,Stopping,Failing,Stopped,Failed,ConfigureFailed
Description: An AlarmRuleState enum indicating the alarm rule state.
reason#
- IDL_Type:
string
- Units:
unitless
Description: More information about the state change; typically a reason for failure if the state is FAILED.
heartbeat#
Description: Event output at regular intervals (typcally once per second) to show that the SAL component is alive.
- EFDB_Topic:
SALGeneric_logevent_heartbeat
- Category:
mandatory
heartbeat#
- IDL_Type:
boolean
- Units:
unitless
Description: Deprecated field that you should ignore.
logLevel#
Description: Current logging level.
- EFDB_Topic:
SALGeneric_logevent_logLevel
- Category:
mandatory
level#
- IDL_Type:
int
- Units:
unitless
Description: Current logging level, a Python logging level: error=40, warning=30, info=20, debug=10.
subsystem#
- IDL_Type:
string
- Units:
unitless
Description: If this CSC itself has sub-ordinate components, they may be listed here. An empty string means the setting applies to all such sub-ordinate components, or just to this CSC itself.
logMessage#
Description: A log message.
- EFDB_Topic:
SALGeneric_logevent_logMessage
- Category:
mandatory
name#
- IDL_Type:
string
- Units:
unitless
Description: Log name.
level#
- IDL_Type:
int
- Units:
unitless
Description: Message level, a Python logging level: error=40, warning=30, info=20, debug=10.
message#
- IDL_Type:
string
- Units:
unitless
Description: Log message.
traceback#
- IDL_Type:
string
- Units:
unitless
Description: Exception traceback; “” if not an exception.
filePath#
- IDL_Type:
string
- Units:
unitless
Description: Path to source file.
functionName#
- IDL_Type:
string
- Units:
unitless
Description: Function or method name.
lineNumber#
- IDL_Type:
long
- Units:
unitless
Description: Line number in the file specified by filePath.
process#
- IDL_Type:
long
- Units:
unitless
Description: Process ID.
timestamp#
- IDL_Type:
double
- Units:
second
Description: The time at which the condition being reported was observed (TAI unix seconds). 0 if unspecified.
softwareVersions#
Description: Current versions of software in use by CSC.
- EFDB_Topic:
SALGeneric_logevent_softwareVersions
- Category:
mandatory
salVersion#
- IDL_Type:
string
- IDL_Size:
256
- Units:
unitless
Description: This is the current version of SAL generation.
xmlVersion#
- IDL_Type:
string
- IDL_Size:
256
- Units:
unitless
Description: This is the current version of CSC XML.
cscVersion#
- IDL_Type:
string
- IDL_Size:
256
- Units:
unitless
Description: The software version of this CSC.
subsystemVersions#
- IDL_Type:
string
- Units:
unitless
Description: A comma delimited list of key=value pairs relating subsystem name (key) to its version number (value). This may be left blank if there are no subsystems within this CSC.