7 sdt host configuration – Tripp Lite 93-2879 User Manual

Page 163

Advertising
background image

_____________________________________________________________________

B096-016 B096-048 and B092-016 User Manual

Page 163

Alert Configuration

You can add an email alert to the system from the command line by following these
instructions:

Determine the total number of existing alerts (if you have no existing alerts) you can assume
this is 0.

# /bin/config –-get=config.alerts.total

This command should display output similar to:

config.alerts.total 1

Note that if you see:

config.alerts.total

This means you have 0 alerts configured.

Your new alert will be the existing total plus 1. So if the previous command gave you 0, then
you start with user number 1. If you already have 1 alert, your new alert will be number 2, etc.

To configure an email alert to be sent to

[email protected]

when the regular expression

“Cpu.*0.0% id,” matches logging on serial port 5, you would need to issue the following
commands (Assuming you have 1 previous alert in place):

# /bin/config –[email protected]

# /bin/config –-set=”config.alerts.alert2.pattern=.*0.0% id,”

# /bin/config –-set=config.alerts.alert2.port5=on

# /bin/config –-del=config.alerts.total=2

The following command will synchronize the live system with the new configuration.

# /bin/config –-run=alerts

14.7

SDT Host Configuration

SDT host TCP Ports

To setup the list of TCP ports for a host, you use the config command:

# config -s config.sdt.hosts.host3.tcpports.tcport1 = 23

# config -s config.sdt.hosts.host3.tcpports.tcport2 = 5900

Advertising