You can customize many aspects of RSYSLOG notifications. This includes specifying which event types should trigger an alert notification, the frequency of alert notifications and the message format.
For a complete list of customization commands, see the fenotify rsyslog recipient <rname> prefer * commands in the CLI Command Reference.
Prerequisites
Admin or operator access to appliance
Remote system log (RSYSLOG) server configured on the appliance. See: Adding an SNMP trap sink using the CLI.
Custom alert level
Set custom alert severity: fenotify rsyslog trap-sink <name> prefer message send-as <severity> command.
For example, to send the trap sink server nx2500 notifications at the alert severity (recommended):
hostname (config) # fenotify syslog trap-sink nx2500 prefer message send-as alert
Delivery frequency
Set the delivery frequency for all notifications fenotify rsyslog trap-sink <name> message delivery <frequency> command.
For example, to send the trap sink server nx2500 notifications after each alert (recommended):
hostname (config) # fenotify syslog syslog trap-sink nx2500 message delivery per-event
Notification order
Set the order in which notifications are sent: fenotify rsyslog trap-sink <name> prefer message item-order <order> command.
For example, to send the trap sink server nx2500 notifications in the order they arrive:
hostname (config) # fenotify syslog trap-sink nx2500 prefer message item-order constant-order
Syslog facility
Set the syslog facility value for all notifications: fenotify rsyslog default facility <value> command.
For example, to set the syslog facility to local 4 (recommended):
hostname (config) # fenotify syslog default facility local4
Custom event triggers
Set the event types that will trigger an alert notification for the remote system log server:
fenotify rsyslog trap-sink <name> prefer notification <event type>
Remove the custom event triggers:
no fenotify rsyslog trap-sink <name> prefer notification <event type>