Black Box LES1216A-R2 Manuale Utente

Pagina di 286
 
 
 
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 
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 
_____________________________________________________________________ 
 
 
724-746-5500 | blackbox.com
 
 Page 228