Sending Notifications for System Log Messages to Users with the SRC CLI
Use the following statements to configure the system log server to send notifications to users:
system syslog useruser-name
(any | authorization | daemon | ftp | kernel | user |local7) {(any | emergency | alert | critical | error | warning | notice | info | none);}To configure the system log server to send notifications to users:
- From configuration mode, access the configuration statement that configures the system log server.
[edit]user@host#edit system syslog
- Specify the user to receive notifications and the types of notifications to be sent.
[edit system syslog]user@host#set user
user-name message-group severity
For example, to configure the system log server to send notifications to admin for conditions that require immediate attention:
[edit system syslog]user@host#set user admin any critical