Itron Inc. OW1 사용자 설명서

다운로드
페이지 34
Alarms are generated by Itron services. Itron Services monitor several parameters to ensure
the proper operation of the SBR. When an alarm is asserted, the services call a shell script:
sbr-alarm with an "alarm_on" parameter to signal the alarm. When an alarm is turned off,
the alarm script is also called with “alarm_off”. Every minute, if an alarm is still present, the
alarm script is called as a redundancy measure.
Discrimination of new alarms and redundancies is performed using an alarm counter that is
only incremented when an alarm is new. There is one alarm counter per alarm type.
Counters can be reset through the HTTPS API. The default behavior of the alarm script is
the following.
1. Log a generic message in the local syslog.
2. Perform one or several action(s) related to the specific alarm, if necessary.
Furthermore, a configuration item allows the generic events to be duplicated and sent to a
remote syslog server: alarm_server. This default behavior can be changed by modifying the
sbr-alarm script, without the need to rebuild the Itron binaries.
The alarm script syntax is the following:
sbr-alarm <alarm_name> <alarm_on|alarm_off> <value_or_state> <counter>
The generated events have the following characteristics:
• Priority:
o Alarm ON: daemon.warning
o Alarm OFF: daemon.notice
• Tag: sbr-alarm
• Value: Alarm: ON/OFF - Condition: <alarm_name> - Value: <value_or_state> - Count:
<counter>
Examples:
• sbr-alarm: Alarm: ON - Condition: battery_removed - Value: 2 - Count: 12
• sbr-alarm: Alarm: ON - Condition: door - Value: opened - Count: 25
• sbr-alarm: Alarm: OFF - Condition: door - Value: opened - Count: 25
List of Alarms
The following is a list of the alarms provided by the Socket Based Router.
• CPU Temp High
• CPU Temp Low
• Board Temp High
Operation
TDC-xxxx-xxx DRAFT
29
Proprietary and Confidential