
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
Kommentare zu diesen Handbüchern