Black Box 1102, 1101 manual Alerts, General settings for all alerts, Connection Alert, Signal Alert

Models: 1101 1102 Secure Device Servers

1 164
Download 164 pages 30.63 Kb
Page 130
Image 130

1101 and 1102 Secure Device Servers

Notice

Warning

Assume the remote log server needs a username 'name1' and password 'secret':

#config -s config.eventlog.server.username=name1

#config -s config.eventlog.server.password=secret

To set the remote path as '/Black Box/logs' to save logged data:

#config -s config.eventlog.server.path=/Black Box/logs

#config -s config.eventlog.server.type=[none syslog nfs cifs usb]

If the server type is set to usb, none of the other values need to be set. The mount point for storing on a remote USB device is /var/run/portmanager/logdir

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

#config –a

14.13Alerts

You can add an email, SNMP, or NAGIOS alert by following the steps below.

The general settings for all alerts

Assume this is our second alert, and we want to send alert emails to john@Black Box.com and sms's to peter@Black Box.com:

#config -s config.alerts.alert2.description=MySecondAlert

#config -s config.alerts.alert2.email=john@Black Box.com

#config -s config.alerts.alert2.email2=peter@Black Box.com

To use NAGIOS to notify of this alert:

# config -s config.alerts.alert2.nsca.enabled=on

To use SNMP to notify of this alert:

# config -s config.alerts.alert2.snmp.enabled=on

Increment the total alerts:

# config -s config.alerts.total=2

Below are the specific settings depending on the type of alert required:

Connection Alert

To trigger an alert when a user connects to serial port 5 or network host 3:

#config -s config.alerts.alert2.host3='host name'

#config -s config.alerts.alert2.port5=on

#config -s config.alerts.alert2.sensor=temp

#config -s config.alerts.alert2.signal=DSR

#config -s config.alerts.alert2.type=login

Signal Alert

To trigger an alert when a signal changes state on port 1:

#config -s config.alerts.alert2.port1=on

#config -s config.alerts.alert2.sensor=temp

#config -s config.alerts.alert2.signal=[ DSR DCD CTS ]

#config -s config.alerts.alert2.type=signal

Pattern Match Alert

To trigger an alert if the regular expression '.*0.0% id' is found in serial port 10's character stream.

130

724-746-5500 blackbox.com

Page 130
Image 130
Black Box 1102, 1101 manual Alerts, General settings for all alerts, Connection Alert, Signal Alert, Pattern Match Alert