Przejdź do głównej zawartości

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​

FailureWarning whenIncident whenClosingRequest
NVMe disk raised a critical warning—The critical-warning register of the disk is above zeroStateDrive
NVMe media errors are growing—The counter of media errors growsCounterDrive
NVMe spare blocks are running outThe available spare falls below twice the threshold that the disk reportsThe available spare falls below that thresholdStateDrive
NVMe disk is near the end of its rated lifeThe used share of the rated life reaches 90 %—State—
NVMe controller error log is growingThe number of entries in the error log of the controller grows—State—
NVMe disk was shut down unsafelyThe counter of unsafe shutdowns grows—State—
NVMe time above the warning temperature is growingThe time above the warning temperature grows—State—
NVMe time above the critical temperature is growing—The time above the critical temperature growsState—
NVMe disk is overheatingThe temperature reaches the warning temperature that the disk reportsThe temperature reaches the critical temperature that the disk reportsState—

SATA disks​

FailureWarning whenIncident whenClosingRequest
Reallocated sectors are growing—The SMART attribute 5 is above zero and growsCounterDrive
Pending sectors are growing—The SMART attribute 197 is above zero and growsCounterDrive
Offline uncorrectable sectors are growing—The SMART attribute 198 is above zero and growsCounterDrive
Reported uncorrectable errors are growing—The SMART attribute 187 is above zero and growsCounterDrive
Interface CRC errors are growing: cable or portThe SMART attribute 199 grows—State—
Disk command timeouts are growingThe SMART attribute 188 grows—State—
Disk failed its SMART self-assessment—The SMART self-assessment of the disk reports a failureStateDrive
Disk is overheating55 °C and above65 °C and aboveState—

RAID arrays​

FailureWarning whenIncident whenClosingRequest
RAID array is degraded—An array that has redundancy misses at least one memberStateDrive
RAID array is inactive—The array is inactiveState—
RAID rebuild has not moved for 30 minutes—A rebuild shows the same progress for 30 minutesState—
RAID check found mismatchesA check has just ended and found mismatched sectors—State—

Memory​

FailureWarning whenIncident whenClosingRequest
Uncorrectable memory errors (ECC)—The counter of uncorrectable errors growsCounterMemory
Corrected memory errors (ECC) are growingThe counter of corrected errors grows—State—
More than 10 corrected memory errors a day—Corrected errors added up to more than 10 within 24 hoursCounterMemory
Low available memoryLess than 12 % of the memory is availableLess than 6 % of the memory is availableState—
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 moduleCounterMemory

Processor and load​

FailureWarning whenIncident whenClosingRequest
CPU is overheatingThe temperature stands within 10 °C of the critical temperature of the chipThe temperature reaches the critical temperature of the chipStateCooling
CPU slows down from heatThe counters of throttling grow on at least one logical processor—State—
High load per CPU coreThe five-minute load per logical processor exceeds 8—State—
Processes wait for the CPUSome processes wait for the processor for more than 30 % of the last 60 secondsAll processes wait for it for more than 10 % of the last 60 secondsState—
Processes wait for disk I/OSome processes wait for the disk for more than 30 % of the last 60 secondsAll processes wait for it for more than 10 % of the last 60 secondsState—
Processes wait for memorySome processes wait for memory for more than 30 % of the last 60 secondsAll processes wait for it for more than 10 % of the last 60 secondsState—

Board sensors, PCIe, panics and lost parts​

FailureWarning whenIncident whenClosingRequest
Board temperature sensor is out of rangeA reading leaves the limits that the sensor reportsA reading reaches the critical limit of the sensorState—
Fan is out of rangeA reading leaves the limits that the sensor reportsA reading reaches the critical limit of the sensorState—
Voltage is out of rangeA reading leaves the limits that the sensor reportsA reading reaches the critical limit of the sensorState—
Power is out of rangeA reading leaves the limits that the sensor reportsA reading reaches the critical limit of the sensorState—
Current is out of rangeA reading leaves the limits that the sensor reportsA reading reaches the critical limit of the sensorState—
Corrected PCIe errors are growingThe counters of corrected PCIe errors of a device grow—State—
Uncorrectable PCIe errors—The counters of uncorrectable PCIe errors of a device growCounter—
A PCIe device is gone from the server—A PCIe device that the inventory had seen vanished from itCounterPCIe device
Kernel panic in the previous boot—The record of a kernel panic of the previous boot appearsCounterMainboard
The server rebooted without our commandOne boot within 24 hours, other than a boot after a restart command of QubixTwo or more such bootsCounterMainboard
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 diskCounterDrive

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​

FailureWarning whenIncident whenClosingRequest
Link speed below 1 Gbit/sA port is up and its speed stands below 1000 Mbit/s—State—
Network errors and drops are growingThe errors, the dropped packets or the changes of the carrier of a port grow—State—
Packet loss to the gatewayMore than 1 % of the packets to the gateway are lostMore than 10 % of the packets to the gateway are lostStateNetwork

File systems and the system​

FailureWarning whenIncident whenClosingRequest
Low free spaceThe free space on / is below 15 GiBThe free space on / is below 5 GiBState—
Low free space on the data partitionThe free space on /home is below 15 GiBThe free space on /home is below 5 GiBState—
Few free inodesLess than 10 % of the inodes of a file system are freeLess than 5 % of the inodes are freeState—
File system was remounted read-only—A file system that was writable became read-onlyState—
Server time has not been synchronized for 30 minutesThe clock stays unsynchronized for 30 minutes—State—
A systemd service has failedA 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 minutesState—

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".

FailureWarning whenIncident whenClosingRequest
Disk I/O errors in the kernel logThe first caseA repeatCounterDrive
NVMe timeouts or controller resets in the kernel logThe first caseA repeat, or a line that says the controller is downCounterDrive
XFS errors in the kernel log—The first caseCounter—
Kernel errors in the log—The first caseCounter—
Memory or machine check errors in the kernel logThe first caseA line that names an uncorrectable errorCounterMemory
PCIe errors in the kernel logThe first caseA line that names an uncorrectable errorCounter—
CPU overheating in the kernel logThe first caseA repeatState—
Out of memory: the kernel stopped a processThe first caseA repeatState—
The network link droppedThe first caseA repeatState—
Connection tracking is fullThe first caseA repeatState—
Programs crash again and againA repeat—State—
RAID events in the kernel logThe first case—State—
Service failures in the system logThe first case—State—
SSH login failures above normalThe 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 normalThe 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​

FailureWarning whenIncident whenClosingRequest
Disk encryption not complete—The check at the end of the first boot reports that the encryption setup is incompleteState—

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​