8-12
Stinger®
Administration Guide
Watchdogs, Alarms, and Traps
Defining alarms
Sample alarm for input-relay closure status on any remote shelf
The following commands configure an alarm for input-relay closure on any remote
shelf in a hosted system:
HOST>
new alarm closed
HOST>
set enabled = yes
HOST>
set event = input-relay-closed
HOST>
write -f
HOST>
new alarm open
HOST>
set enabled = yes
HOST>
set event = input-relay-open
HOST>
write -f
If one of the alarms is triggered, the alarm action takes effect, and the
remote-shelf-
stat
profile is updated. In addition, the status is accessible in the output of the
alarm -s
command. For example, the following output shows contact closure on
shelf 2:
HOST>
alarm -s
Type Address State
Input Relay Closed { 2 0 1 } Active
Input Relay Closed { 2 0 2 } Active
Input Relay Closed { 2 0 3 } Active
Monitoring environmental conditions
To monitor alarm conditions for temperature changes, perform the following tasks.
1
Define high and low temperature thresholds in the
thermal
profile.
admin>
read thermal
THERMAL read
admin>
set bottom-high = 30
admin>
write
THERMAL written
2
Create
alarm
profiles for low-temperature and high-temperature events and
define the list of actions Stinger take if either temperature alarms is raised.
admin>
new alarm thermal
ALARM/thermal read
admin>
set event = high-temp
admin>
set phy = {1 8 1}
admin>
set enable = yes
admin>
write
ALARM/thermal written
Configuring alarm settings for the alarm MIB
Stinger units support alarm MIBs as described in
draft-ietf-disman-alarm-mib-
04.txt
. The MIBs provide the following information:
All possible alarms in the system
Содержание Stinger
Страница 1: ...Stinger Administration Guide Part Number 7820 0712 008 For software version 9 7 0 August 2004 ...
Страница 4: ......
Страница 16: ......
Страница 18: ......
Страница 62: ......
Страница 82: ......
Страница 96: ......
Страница 182: ......
Страница 218: ......
Страница 236: ......
Страница 252: ......
Страница 288: ......
Страница 350: ......
Страница 362: ......
Страница 374: ......