Which failures open an incident
Auto DevOps judges the readings of the server with fixed rules, every minute. The thresholds below
are fixed in Qubix. The name of each failure is the name that stands in the
Incident column of the Incidents tab.
How to read the tables
- Warning. The finding stays a line in the message "Server warnings" of the technical Telegram chat.
A dash in the column "Incident when" marks a rule that only warns.
- Incident when. The finding reaches the failure level, and an incident opens on the
Incidents tab.
- Closing. "State" closes by itself after 15 minutes of normal readings. "Counter" closes at your word
(Closing a counter); a counter of a disk also closes when a new disk with
another serial number stands in the same slot.
- Request. The kind of repair request that the incident offers
(Repair request to Hetzner). A dash marks a failure outside the table of requests.
- Readings in a row. The rules that judge the growth of a counter, the rules over the logs and these rules act at
the first reading: RAID rebuild has not moved for 30 minutes, RAID check found mismatches, More than 10 corrected memory errors a day, Kernel panic in the previous boot, The server rebooted without our command, File system was remounted read-only, A memory module is gone from the server, A drive is gone from the server, A PCIe device is gone from the server, CPU slows down from heat, Network errors and drops are growing. Most other rules wait for two readings in a row. Three findings wait longer: the processor
temperature at the warning level waits for 5 readings in a row, the clock for 30 and a system service that
stays failed for 10.
- Growth. "Grows" means that the newest reading is higher than the previous one.
- Works of Hetzner. During the time of works of a scheduled request, the rules "Unexpected reboot",
"Packet loss to the gateway", "RAID array is degraded" and "RAID array is inactive" skip new incidents.
NVMe disks
| Failure | Warning when | Incident when | Closing | Request |
|---|
| NVMe disk raised a critical warning | — | The critical-warning register of the disk is above zero | State | Drive |
| NVMe media errors are growing | — | The counter of media errors grows | Counter | Drive |
| NVMe spare blocks are running out | The available spare falls below twice the threshold that the disk reports | The available spare falls below that threshold | State | Drive |
| NVMe disk is near the end of its rated life | The used share of the rated life reaches 90 % | — | State | — |
| NVMe controller error log is growing | The number of entries in the error log of the controller grows | — | State | — |
| NVMe disk was shut down unsafely | The counter of unsafe shutdowns grows | — | State | — |
| NVMe time above the warning temperature is growing | The time above the warning temperature grows | — | State | — |
| NVMe time above the critical temperature is growing | — | The time above the critical temperature grows | State | — |
| NVMe disk is overheating | The temperature reaches the warning temperature that the disk reports | The temperature reaches the critical temperature that the disk reports | State | — |
SATA disks
| Failure | Warning when | Incident when | Closing | Request |
|---|
| Reallocated sectors are growing | — | The SMART attribute 5 is above zero and grows | Counter | Drive |
| Pending sectors are growing | — | The SMART attribute 197 is above zero and grows | Counter | Drive |
| Offline uncorrectable sectors are growing | — | The SMART attribute 198 is above zero and grows | Counter | Drive |
| Reported uncorrectable errors are growing | — | The SMART attribute 187 is above zero and grows | Counter | Drive |
| Interface CRC errors are growing: cable or port | The SMART attribute 199 grows | — | State | — |
| Disk command timeouts are growing | The SMART attribute 188 grows | — | State | — |
| Disk failed its SMART self-assessment | — | The SMART self-assessment of the disk reports a failure | State | Drive |
| Disk is overheating | 55 °C and above | 65 °C and above | State | — |
RAID arrays
| Failure | Warning when | Incident when | Closing | Request |
|---|
| RAID array is degraded | — | An array that has redundancy misses at least one member | State | Drive |
| RAID array is inactive | — | The array is inactive | State | — |
| RAID rebuild has not moved for 30 minutes | — | A rebuild shows the same progress for 30 minutes | State | — |
| RAID check found mismatches | A check has just ended and found mismatched sectors | — | State | — |
Memory
| Failure | Warning when | Incident when | Closing | Request |
|---|
| Uncorrectable memory errors (ECC) | — | The counter of uncorrectable errors grows | Counter | Memory |
| Corrected memory errors (ECC) are growing | The counter of corrected errors grows | — | State | — |
| More than 10 corrected memory errors a day | — | Corrected errors added up to more than 10 within 24 hours | Counter | Memory |
| Low available memory | Less than 12 % of the memory is available | Less than 6 % of the memory is available | State | — |
| A memory module is gone from the server | — | A memory module that the inventory had seen vanished from it; the same serial number under another name is the same module | Counter | Memory |
Processor and load
| Failure | Warning when | Incident when | Closing | Request |
|---|
| CPU is overheating | The temperature stands within 10 °C of the critical temperature of the chip | The temperature reaches the critical temperature of the chip | State | Cooling |
| CPU slows down from heat | The counters of throttling grow on at least one logical processor | — | State | — |
| High load per CPU core | The five-minute load per logical processor exceeds 8 | — | State | — |
| Processes wait for the CPU | Some processes wait for the processor for more than 30 % of the last 60 seconds | All processes wait for it for more than 10 % of the last 60 seconds | State | — |
| Processes wait for disk I/O | Some processes wait for the disk for more than 30 % of the last 60 seconds | All processes wait for it for more than 10 % of the last 60 seconds | State | — |
| Processes wait for memory | Some processes wait for memory for more than 30 % of the last 60 seconds | All processes wait for it for more than 10 % of the last 60 seconds | State | — |
Board sensors, PCIe, panics and lost parts
| Failure | Warning when | Incident when | Closing | Request |
|---|
| Board temperature sensor is out of range | A reading leaves the limits that the sensor reports | A reading reaches the critical limit of the sensor | State | — |
| Fan is out of range | A reading leaves the limits that the sensor reports | A reading reaches the critical limit of the sensor | State | — |
| Voltage is out of range | A reading leaves the limits that the sensor reports | A reading reaches the critical limit of the sensor | State | — |
| Power is out of range | A reading leaves the limits that the sensor reports | A reading reaches the critical limit of the sensor | State | — |
| Current is out of range | A reading leaves the limits that the sensor reports | A reading reaches the critical limit of the sensor | State | — |
| Corrected PCIe errors are growing | The counters of corrected PCIe errors of a device grow | — | State | — |
| Uncorrectable PCIe errors | — | The counters of uncorrectable PCIe errors of a device grow | Counter | — |
| A PCIe device is gone from the server | — | A PCIe device that the inventory had seen vanished from it | Counter | PCIe device |
| Kernel panic in the previous boot | — | The record of a kernel panic of the previous boot appears | Counter | Mainboard |
| The server rebooted without our command | One boot within 24 hours, other than a boot after a restart command of Qubix | Two or more such boots | Counter | Mainboard |
| A drive is gone from the server | — | A disk that the inventory had seen vanished from it; the same serial number under another device name is the same disk | Counter | Drive |
The sensor rules watch the sensors of the board that report limits. The temperature sensors of the
processor and of the disks belong to the rules of their own parts.
Network
| Failure | Warning when | Incident when | Closing | Request |
|---|
| Link speed below 1 Gbit/s | A port is up and its speed stands below 1000 Mbit/s | — | State | — |
| Network errors and drops are growing | The errors, the dropped packets or the changes of the carrier of a port grow | — | State | — |
| Packet loss to the gateway | More than 1 % of the packets to the gateway are lost | More than 10 % of the packets to the gateway are lost | State | Network |
File systems and the system
| Failure | Warning when | Incident when | Closing | Request |
|---|
| Low free space | The free space on / is below 15 GiB | The free space on / is below 5 GiB | State | — |
| Low free space on the data partition | The free space on /home is below 15 GiB | The free space on /home is below 5 GiB | State | — |
| Few free inodes | Less than 10 % of the inodes of a file system are free | Less than 5 % of the inodes are free | State | — |
| File system was remounted read-only | — | A file system that was writable became read-only | State | — |
| Server time has not been synchronized for 30 minutes | The clock stays unsynchronized for 30 minutes | — | State | — |
| A systemd service has failed | A system service stands in the failed state | — | State | — |
| A systemd service has not come back for 10 minutes | — | A system service stays failed for 10 minutes | State | — |
Kernel and system logs
The rules of this group judge the events that the server parsed out of its logs. The lines that the kernel
writes for one failure within two seconds of each other count as one case; for the crashes of programs and
the drops of a network link every line is a case of its own. A second case within an hour of the first is a
"repeat".
| Failure | Warning when | Incident when | Closing | Request |
|---|
| Disk I/O errors in the kernel log | The first case | A repeat | Counter | Drive |
| NVMe timeouts or controller resets in the kernel log | The first case | A repeat, or a line that says the controller is down | Counter | Drive |
| XFS errors in the kernel log | — | The first case | Counter | — |
| Kernel errors in the log | — | The first case | Counter | — |
| Memory or machine check errors in the kernel log | The first case | A line that names an uncorrectable error | Counter | Memory |
| PCIe errors in the kernel log | The first case | A line that names an uncorrectable error | Counter | — |
| CPU overheating in the kernel log | The first case | A repeat | State | — |
| Out of memory: the kernel stopped a process | The first case | A repeat | State | — |
| The network link dropped | The first case | A repeat | State | — |
| Connection tracking is full | The first case | A repeat | State | — |
| Programs crash again and again | A repeat | — | State | — |
| RAID events in the kernel log | The first case | — | State | — |
| Service failures in the system log | The first case | — | State | — |
| SSH login failures above normal | The number of such events in the last hour exceeds 10 and exceeds three times the median of the hourly counts of the last 7 days | — | State | — |
| System log errors above normal | The number of such events in the last hour exceeds 10 and exceeds three times the median of the hourly counts of the last 7 days | — | State | — |
During the first week of a server the limit of the last two rows is 10 events per hour. A log rule closes
when its events fall away: a state rule after 15 minutes, a counter at your word, and the events that
happened before a closing stay out of the count for the same device.
Disk encryption
| Failure | Warning when | Incident when | Closing | Request |
|---|
| Disk encryption not complete | — | The check at the end of the first boot reports that the encryption setup is incomplete | State | — |
The check closes when it reports a complete setup. While the check is still running, or its result is
unknown, the rule waits.
Rules that ask for an inventory at once
A hardware inventory is taken once a day. The incidents RAID array is degraded,
RAID array is inactive, Disk I/O errors in the kernel log and
NVMe timeouts or controller resets in the kernel log ask for a fresh inventory at the moment they open, because the disk
that failed may be gone by the next day.
What's next