Configuring events for event reporting
To reduce duplicate events
- To reduce the number of duplicate events that are sent for notifications, enter the following:
Report> event set dup-frequency number
where number indicates time (in seconds) in which only one event (of duplicate events) is sent for notifications.
where number indicates the number of duplicate events to ignore.
Report> event set dup-number number
To display the time interval or the number of duplicate events sent for notifications
- To display the time interval, enter the following:
Report> event get dup-frequency
To set the number of duplicate events that are sent for notifications, enter the following:
Report> event get dup-number
To set the time interval for scanning event notifications
- To set the time interval for scanning event notifications in
/var/log/messagesand/var/log/messages-*.bz2files, enter the following:Report> event set log-scan-frequency frequency
where frequency is the time interval in seconds for scanning the
/var/log/messagesdirectory.
To display the time interval for scanning event notifications
- To display the time interval for scanning event notifications, enter the following:
Report> event get log-scan-frequency
To set the from email address when sending email notifications to users
- To set the from email address when sending email notifications to users, enter the following:
Report> event set from-address from-email-address
where from-email-address is the from email address when sending email notifications to users.
To display the from email address when sending email notifications to users
- To display the from email address when sending email notifications to users, enter the following:
Report> event get from-address