config log : config log alertemail setting
 
config log alertemail setting
Use this command to configure alert settings.
Before you begin:
You must have read-write permission for log settings.
Syntax
config log alertemail setting
set by_category {enable|disable}
set categories {admin config diskfull ha healthcheck}
set loglevel {alert | critical | debug | emerge | error | information | notification | warning}
set deferq-interval <integer>
set from <string>
end
 
by_category
Specify this option to send alerts that match the specified categories. If you do not select this option, alerts are sent based on event severity.
categories
Specify the events for which alerts are sent:
Admin
Configuration
Disk
HA
Health Check
loglevel
Specify the lowest severity for which alerts are sent:
Emergency—The system has become unstable.
Alert—Immediate action is required.
Critical—Functionality is affected.
Error—An error condition exists and functionality could be affected.
Warning—Functionality might be affected.
Notification—Information about normal events.
Information—General information about system operations.
Debug—Detailed information about the system that can be used to troubleshoot unexpected behavior.
For example, if you select error, the system sends alerts with level Error, Critical, Alert, and Emergency. If you select alert, the system sends alerts with level Alert and Emergency.
deferq-interval
If identical alerts are occurring continuously, select the interval between each email that will be sent while the event continues.
from
Sender email address used in alert email.