Black Box Advanced Console Server Manuel d'utilisateur Page 180

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 237
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 179
_____________________________________________________________________
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
Vue de la page 179
1 2 ... 175 176 177 178 179 180 181 182 183 184 185 ... 236 237

Commentaires sur ces manuels

Pas de commentaire