MRV Communications LX-4000 Series Informacje Techniczne Strona 175

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 174
Setting Up the Notification Feature
Localsyslog Example 5-19
Localsyslog Example
The following commands are used to configure the logging of
events to the local syslog. In the following example, the
locallog home directory is
/var/log/Build5
.
Example
Remotesyslog Example
Use the following commands to configure the logging of events
to syslogd on a remote host:
Example
At the remote host, add the following entry to the
/etc/syslog.conf
file:
user.warning /tftpboot/log/user.warning.log
Notification:0 >>
profile service local
Noti_Serv_Protocol:0 >>
localsyslog
Noti_Serv_Async:0 >>file Build5
Noti_Serv_Async:0 >>exit
Notification:0 >>profile user locallog
Noti_User_Service:0 >>service local
Noti_User_Info:0 >>facility user
Noti_User_Info:0 >>priority warning
Notification:0 >>
profile service
Rlogvenus
Noti_Serv_Protocol:0 >>remotesyslog
Noti_Serv_RSyslog:0 >>host 10.179.170.253
Noti_Serv_RSyslog:0 >>exit
Notification:0 >>profile user venus
Noti_User_Service:0 >>service Rlogvenus
Noti_User_Info:0 >>facility user
Noti_User_Info:0 >>priority warning
Przeglądanie stron 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 691 692

Komentarze do niniejszej Instrukcji

Brak uwag