Installation guide

set alarm
50 Chapter 2 Command Descriptions
Options for setting alarms in match mode
In match mode, an alarm will be triggered when a pattern is found in the
stream of serial data. The following options are used for setting alarms in
match mode:
mode=match
Sets the alarm to match mode.
match=string
A string that triggers an alarm if the data pattern is found in the incoming
serial stream. The maximum length of this string is 40 characters,
including escape sequences for special characters. For more details on
the escape sequences, see "Entering Special Characters in String
Values" on page 10. The maximum parsed length of this string is 10
characters. That is, this string must reduce down to a 10-character string
when the escape sequences are processed.
Examples Set an alarm to “on” state
set alarm state=on mailservip=10.0.0.1
Set alarm mode to GPIO mode
set alarm range=1 mode=gpio
Set alarm to designate which pins trigger alarm
set alarm range=1 pin2=high pin3=high
set alarm range=1 highpins=2,3
Set alarm to GPIO mode for specific pins and send SNMP traps
set alarm range=1 highpins=2,3 type=snmptrap
See also "set gpio" on page 63. The set gpio command determines whether pins
act as GPIO input, GPIO output, or standard serial.
"set snmp" on page 120
"revert" on page 39