beautypg.com

Silex technology Embedded Intelligent Module SX-560 User Manual

Page 67

background image

Advanced Configuration

Silex

Page 61

Part Number 140-00192-100

Configuring Serial Port Monitor Alert and Trap Configuration

The SX-560 module can be configured to scan and compare the data received on the serial port to user-
defined strings. A match with a string can be a source for SNMP traps and/or email alerts.

The match strings and corresponding email or web page message strings are configured from the Internal
Configuration Console interface.

Table 27 describes the Monitor Alert and Trap Configuration Commands (the examples are for serial port
1; for serial port 2, substitute the port name S2 instead of S1.

Table 27 Port Monitor Alert Commands

Command

Description

SHOW PORT S1 TRIGMON

Shows strings and index numbers being monitored

SET PORT S1 TRIGMON <trig #>

Assigns a string to be monitored on the serial port

Example:

Local> show port s1 trigmon

Index # Monitor String
------ --------------

Local> set port s1 trigmon 0 trigger on seeing this string

Local> show port s1 trigmon

Index # Monitor String

------ --------------
0: trigger on seeing this string

SHOW PORT S1 TRIGXMT

Shows email or web page strings associated with
TRIGMON index numbers

SET PORT S1 TRIGXMT #>

Index # = 0 to 7

Assigns email or web page string to specified
TRIGMON index number

Example:

Local> show port s1 trigxmt

Index # Xmit String
------ ---------------
0: xmit string 0 <<< default msg string

Local> set port s1 trigxmt 0 The trigger string was seen!

Local> show port s1 trigxmt

Index # Xmit String
------ ---------------
0: The trigger string was seen!