
Setting Up the Notification Feature
Creating Service Profiles 5-11
3. In ASYNC Protocol command mode, execute the
port
command to specify the asynchronous port(s) to which
event messages will be sent:
Example Noti_Serv_Async:0 >>
port 2 3 4 5
You can create User Profiles to filter, by facility and priority, the
event messages that will be sent to the asynchronous ports. For
more information, see “To create a user profile” on page 5-14.
X To configure a REMOTESYSLOG service profile
1. Execute the
profile service
command to enter Service
Profile command mode.
2. In Service Profile command mode, execute the
remotesyslog command to enter REMOTESYSLOG Protocol
command mode:
Example Noti_Serv_Protocol:0 >>remotesyslog
3. In REMOTESYSLOG Protocol command mode, execute the
host
command to specify the remote UNIX host to which
event messages will be sent:
Example Noti_Serv_RSyslog:0 >>
host 10.179.170.253
4. On the UNIX host that you specify in the
host
command,
edit the
/etc/syslog.conf file and add the following entry
for user.warning:
Example user.warning /tftpboot/test/user.warning.log
5. Create an empty log file as follows:
Example #touch /tftpboot/test/user.warning.log
#chmod 777 /tftpboot/test/user.warning.log
6. Restart the syslog daemon to make changes to the
syslog.conf file take effect:
Example # ps –ef|grep syslog
# kill –HUP pid#
Comentarios a estos manuales