Przejdź do głównej zawartości

Incidents

An incident is the record of one failure of one part: a rule found the failure level on the readings of the server, and Qubix keeps the incident open until the failure ends. The Incidents tab lists the incidents, and a click on a row opens the incident window with the facts, the log lines and, where the failure leads to a repair, the repair request.

The list​

The list shows open incidents first, newest on top, and then the incidents closed within the last 30 days. It holds up to 500 rows and refreshes itself every minute while the tab is visible. A click on a row (the row ends with an arrow) opens the incident window. On a healthy server the tab says The server works without incidents. A table that fails to load shows the reason and the Ponów button.

ColumnWhat it holds
IncidentThe name of the failure, for example "RAID array is degraded" (the full list)
DeviceThe device the failure concerns; a dash stands for a failure of the whole server
ValueThe value of the reading and the threshold it crossed: … · threshold … (the dots stand for the two numbers); a failure with a bare value shows the value alone
OpenedThe moment the incident opened
StateThe state of the incident (the table below)
Repair requestThe repair request of the incident (the variants below); the column is there on a server rented through Qubix, and wherever a request was already agreed or filed

The Eksportuj CSV button saves the list as a file named autodevops-incidents with the date of the day.

States of an incident​

StateWhat it means
OpenThe failure lasts; the incident waits for your decision, or the request is done and the hardware check is ahead
Request filedA repair request is filed at admin.qubix.pro
Waiting for HetznerThe letter went to Hetzner
Waiting for your timeHetzner proposes another time of works and waits for your answer
Work scheduledThe time of works is set
ClosedThe incident is closed

The list of states of the table also has AI analysis; no step of Auto DevOps puts an incident into it at present.

The states follow the request: when the request reaches "Work done", the incident returns to Open until the replacement is confirmed or you close the incident (Repair request to Hetzner).

The Repair request column​

TextWhat it means
A dashThe rules handle the failure alone
Can be sent: … (the dots stand for the kind, for example "drive")The failure offers a repair request that waits for your agreement
The reference and the state, for example "QBX-R-1234 · Waiting for Hetzner"The request is filed; the state is the state of the request
The reference aloneThe request is on its way and the reference is known
Waiting for a backup, The backup stopped, Being sent, Filed or ClosedYou agreed, and your agreement stands at this stage while the reference is still unknown

The incident window​

The title of the window names the failure and the device, for example "RAID array is degraded · md1". The window refreshes itself every minute. From top to bottom it holds:

  1. The What happened block: the rows Incident, Device, Value, Opened and State, and for a closed incident the row Closed. When Qubix collected the facts of a request only in part, a notice names what is missing: Collected partly: … (the dots stand for the list of the words from the table below).
  2. The AI analysis block (AI analysis).
  3. The repair request block, for the failures that lead to a request (Repair request to Hetzner).
  4. The Close the incident block, for a counter that is still open (Closing a counter).
  5. The Log lines block.

What the notice about partly collected facts names​

For a failure that leads to a request, Qubix collects the facts at the minute the incident opens, while the part is still visible. A part that Qubix failed to read is named in the notice, and the document of the request that goes to Telegram names the same parts (Telegram).

Word in the noticeThe part that Qubix failed to read
server detailsThe details of the server
hardware inventoryThe hardware inventory
log eventsThe log events of the device
disk array stateThe state of the array of disks
missing partsThe list of parts that the inventory has lost sight of
the drive in the hardware inventoryThe place of the drive of the failure in the hardware inventory is missing
SMART report of the driveThe command that reads the SMART report of the drive failed
SMART report of the driveThe SMART report of the drive came back unreadable
network checkThe network check

Log lines​

The Log lines block lists the lines of the kernel and system logs that the server wrote for the device of the incident, newest first, up to 200 lines, in a scrolling area. Each line starts with the moment and the category of the event, then comes the message. The block says Log lines of this device appear here. while the log of the device is empty, and an incident of the whole server (a dash in Device) shows that text too. The logs keep 7 days of events.

How an incident opens and closes​

  • Judging. The rules judge the readings of the server every minute. A finding counts after it holds for several readings in a row; the rules with a longer hold are named in Which failures open an incident.
  • Warning and failure. A finding of the warning level stays a line in the message "Server warnings" of the technical Telegram chat, at most one such message per hour and one line per rule and device per day. A finding of the failure level opens an incident, and the technical chat gets the message "Failure" with the name of the failure, the device and the numbers.
  • Reopening. A failure of the same rule and device within 24 hours after the closing opens the same incident again; the chat gets "Failure again".
  • State incidents. An incident about a state closes by itself when the state stays normal for 15 minutes; the chat gets "Closed by itself". Rules with numeric thresholds add a margin: a reading that hovers close to its threshold restarts the count of the 15 minutes.
  • Counters. An incident about a counter (errors that accumulate, a part gone from the inventory) closes at your word with a note (Closing a counter). A counter of a disk also closes when the inventory shows another serial number in the same slot; the chat gets "Closed, the part was replaced".
  • Works of Hetzner. While the time of works of a scheduled request runs, the rules skip new incidents for "Unexpected reboot", "Packet loss to the gateway", "RAID array is degraded" and "RAID array is inactive".
  • Another server. When the installation starts on another server than before, for example after a restore, the incidents of the previous server close at the next run of the rules.

The technical chat is the Telegram channel bound to the role Techniczne in Connections.

What's next​