Alert description
This alert is triggered when the log "Hardware Error" appears in the host memory.
Alert principle
The keyword "Hardware Error" is matched in the /var/log/messages file on the host. If the keyword is matched, the alert is triggered.
Rule information
Metric |
Default threshold |
Duration |
Detection cycle |
Elimination cycle |
|---|---|---|---|---|
| NA | NA | 0 seconds | Triggered every 3 minutes for the same alert | 5 minutes |
Alert information
Trigger method |
Alert level |
Scope |
|---|---|---|
| Log parsing | Critical | Server |
Alert template
- Alert template details: [${alarm_name}] Cluster: ${ob_cluster_name}, Host: ${host}, Log type: ${server_type}, Log file: ${filename}, Log level: ${log_level}, Keyword = ${keyword}, Error code = ${error_code}, Log details = ${error_message}.
- Example of alert details: [System message log] Cluster: danxue_422, Host: xx.xx.xx.xx, Log type: kern, Log file: /var/log/messages, Log level: ERROR, Keyword = Hardware Error, Error code = -1, Log details = Mar 21 18:07:34 sqaappecsv62s2011162217016.sa128 su[267465]: [Hardware Error] pam_unix(su:session): session closed for user root.
Where:
- ${alarm_name} indicates the name of the alert, for example, OceanBase log alert.
- ${ob_cluster_name} indicates the name of the cluster that generated the alert.
- ${host} indicates the IP address or host name of the server that generated the alert.
- ${server_type} indicates the type of the log.
- ${filename} indicates the name of the log file.
- ${log_level} indicates the log level.
- ${keyword} indicates the keyword.
- ${error_code} indicates the error code.
- ${error_message} indicates the details of the log.
Impact on the system
When a process uses the faulty memory, a core dump occurs.
Possible causes
The host memory has a recoverable error.
Solution
We recommend that you replace the memory as soon as possible.
