Black Box ACS120 Uživatelská příručka Strana 179

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 450
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 178
Chapter 3 - Additional Features
User Guide 179
Step 2: Activate and Save.
To activate your new configurations and save them to flash, type:
config write
(This is essentially typing signal_ras hup and saveconf from the normal terminal
prompt.)
Syslog-ng Configuration to use with Alarm Feature
This configuration example is used for the alarm feature.
Step 1: Configure the pslave.conf file parameter.
In the pslave.conf file the parameters of the alarm feature are configured as:
all.alarm 1
conf.DB_facility 2
Step 2: Add lines to syslog-ng.conf.
The syslog-ng.conf file needs these lines:
# local syslog clients
source sysl { unix-stream("/dev/log"); };
# To filter ALARM message with the string "kernel panic" :
filter f_kpanic {facility(local2) and level(info) and
match("ALARM") and match("kernel panic"); };
# To filter ALARM message with the string "root login" :
filter f_root { facility(local2) and level(info) and
match("ALARM") and match("root login"); };
# To send e-mail to [email protected] (SMTP's IP address 10.0.0.2)
# from the e-mail address [email protected] with subject "ALARM".
# The message will carry the current date, the hostname
Zobrazit stránku 178
1 2 ... 174 175 176 177 178 179 180 181 182 183 184 ... 449 450

Komentáře k této Příručce

Žádné komentáře