StarTech.com ECS0016 manual # /bin/config --run=eventlog, Alert Configuration

Models: ECS0016

1 140
Download 140 pages 33.13 Kb
Page 110
Image 110

Instruction Manual

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

# /bin/config –-run=eventlog

Please note that supported remote storage server types are ‘None’, ‘cifs’, ‘nfs’ and ‘syslog’.

Supported port logging levels are ‘0’, ‘1’ and ‘2’.

Alert Configuration

You can add an email alert to the system from the command line by fol- lowing 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

it 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 alert1@domain.org 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 previ- ous alert in place):

#/bin/config –-set=config.alerts.alert2.email=alert1@domain.com

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

103

Page 110
Image 110
StarTech.com ECS0016 manual # /bin/config --run=eventlog, Alert Configuration