Silex technology SX-560 manual Port Monitor Alert Commands Description, Index # Monitor String

Models: SX-560

1 110
Download 110 pages 17.22 Kb
Page 67
Image 67

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 #> <string>

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 #> <string>

 

Assigns email or web page string to specified

Index # = 0 to 7

 

 

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!

 

 

 

 

 

Advanced Configuration

Silex

Part Number 140-00192-100

Page 61

Page 67
Image 67
Silex technology SX-560 Port Monitor Alert Commands Description, Index # Monitor String, Index # Xmit String Xmit string