EasyManua.ls Logo

Black Box LES1108A - 14.13 Port Log; Alerts

Black Box LES1108A
237 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
_____________________________________________________________________
724-746-5500 | blackbox.com Page 180
Syslog
Mail
News
UUCP
# config -s config.eventlog.server.logpriority='priority'
'priority' can be:
Info
Alert
Critical
Debug
Emergency
Error
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.14 Alerts
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

Table of Contents

Related product manuals