Integration: PagerDuty

Incidents That Open and Resolve With the Machine

Through PagerDuty's Events API v2, in the US or the EU region: a machine that goes offline opens an incident, and the same machine answering again resolves it. The severity goes with it as qKVM rates it.

How Incidents Follow the Machines

Opened and resolved

A problem opens an incident, and back to normal resolves it. Where each was told is written down, so a restart of qKVM in between changes nothing.

One per machine and kind

Down, login, a problem, the screen. A machine that goes offline and answers again without a picture stays one incident.

The severity as it is

Critical for offline and a server's fault, error for a rejected login or a changed certificate, warning for a lost picture.

Each change by itself

PagerDuty is never sent a list: every change goes as its own event, one at a time and in the order it happened.

Set It Up

  1. In PagerDutyAdd an integration of the Events API v2, and copy its routing key.
  2. In qKVMSettings, Alerts, Add destination, PagerDuty: the routing key, and US or EU.
  3. Tell itThe events, from which severity, and all machines or chosen ones.
  4. Send testPagerDuty's answer in its own words, with the key taken out.

Good to Know

The routing key
Stored encrypted with the saved passwords and never shown again. It goes only to the region it was saved for: switch to the other region, and it is asked for again.
Another key
With another routing key or region, the destination starts with nothing known. An incident still open under the old one is resolved there by hand.
Tries
Four at the most, after 5, 30 and 120 seconds, each given fifteen seconds. A change between two kinds of trouble is two events, so its last try ends some four and a half minutes after its first.
Daily seal
The daily seal of the activity log is not offered here, where every event opens an incident. Another destination can take it.
Across a restart
An event still waiting to be tried again when qKVM stops is not sent after it starts: a known limit.