InfraNestInfraNest
PagerDuty

Choose how PagerDuty is paged

Decide which PagerDuty service gets which alerts, whether incidents close themselves, what responders see before an incident, and what happens during planned…

Updated November 2, 20268 min read

Control which PagerDuty service gets paged for what, whether incidents close themselves, what responders see, and what happens during maintenance — this is for anyone who routes InfraNest alerts to PagerDuty.

#Overview

  • Every setting here is per service, on Integrations → PagerDuty.
  • You can decide whether a service pages on monitor alerts, whether InfraNest resolves the PagerDuty incident automatically, whether notes sync, whether deploys and changes show up in PagerDuty, and whether PagerDuty itself gets paused during maintenance.
Choose how PagerDuty is paged

#The switches on each service

  1. Go to Integrations → PagerDuty and find the service.
  2. Monitor alerts page this service — starts at your choice during setup. When on, monitors page this service; when off, the service only gets what automations send it.
  3. Resolve in PagerDuty when the problem ends — starts on. Turn it off if your team prefers to resolve incidents by hand.
  4. Sync notes — starts on. Copies notes between InfraNest and PagerDuty. May start off for services added before notes could be shared.
  5. Send changes — starts on. Shows InfraNest deploys and changes under Recent changes in PagerDuty. Never pages anyone.
  6. Also pause this service in PagerDuty during maintenance — starts off. Holds back every alert on the service while an InfraNest maintenance window runs. Needs an account connected with one-click connect.
  7. Publish PagerDuty status updates on the status page — starts off. Posts PagerDuty status updates on your public status page.

#Send alerts to the right team

Every page InfraNest sends includes details PagerDuty's Event Orchestration can route on, without matching the title:

  • Component — the monitor's name, or the domain, server, certificate or DNS zone for other alerts.
  • Group — the monitor's first tag (or monitoring if it has none), or the area (domains, certificates, servers, dns, drop-catch) for other alerts.
  • Class — the check type (http, ssl, ping...) or the kind of alert (such as domain_expiry_critical).

For example, to send everything about your databases to the database team:

  1. In InfraNest, tag your database monitors database.
  2. In PagerDuty, open the service's orchestration: Services → your service → Settings → Event Orchestration.
  3. Add a rule where event.group matches database, and under Basic Event set Override service's assigned escalation policy to the database team's escalation policy. Adding a note, such as Database alert, makes the reason visible to responders.
  4. Take a database monitor down to try it: the incident should open with the database team's escalation policy.

To move these alerts to a different service instead, use the global orchestration (Automation → Event Orchestration) — only there can a rule route to another service. Global orchestration isn't available on every PagerDuty plan.

Choose how PagerDuty is paged (1)
Choose how PagerDuty is paged (2)

You can also set the component, group and class yourself in the Trigger PagerDuty incident automation action.

#Route on your own fields and set the incident type

Pages also carry, in their details:

  • impact and source — how serious InfraNest rates the problem, and what raised it.
  • fields — your own custom fields on what the page is about: for a monitor, the server it watches; for a domain, certificate or server alert, that record's own fields.

A Customer field you keep on your servers can route pages: in Event Orchestration, add a rule on the alert's custom details, such as fields.Customer matches Acme, routed to Acme's service. The same kind of rule can set the incident type — for example, impact matches critical → Major incident. Nothing needs setting up in InfraNest.

#Resolve incidents by hand

By default, InfraNest resolves the PagerDuty incident when the problem ends. If your team prefers to close incidents itself, for example after a review:

  1. Go to Integrations → PagerDuty and find the service.
  2. Turn off Resolve in PagerDuty when the problem ends.

The InfraNest incident still closes when the problem ends. The PagerDuty incident stays open until someone resolves it, either in PagerDuty or by resolving the incident in InfraNest. Acknowledgements keep syncing either way.

Domains and certificates resolve when InfraNest sees the fix: a renewed domain at its next registrar sync (or straight away if you renewed it in InfraNest), or a replaced certificate once InfraNest sees the new one. Good news, such as a renewal, never opens an incident.

#See InfraNest changes in PagerDuty

PagerDuty shows Recent changes on every service and incident. With Send changes on, InfraNest fills it in, so a responder can see that a deploy went out four minutes before the monitor went down. Changes never open an incident or page anyone.

What appears:

  • Deploys of a repository you linked to a monitor or server, on services that get monitor alerts.
  • DNS changes, server power actions, firewall changes made through InfraNest, and replaced certificates — on every service on the account, since these aren't tied to one monitor.

Several changes to the same zone, server or firewall within about a minute arrive as one entry, such as "3 DNS changes to example.com by Dana." Send changes is on by default for every new service; turn it off per service if you don't want this. PagerDuty keeps changes for 90 days.

#Pause PagerDuty during maintenance

An InfraNest maintenance window quiets InfraNest's own alerts, but other tools paging the same service still get through. To quiet those too:

  1. Go to Integrations → PagerDuty. This needs an account connected with one-click connect.
  2. Under the service, switch on Also pause this service in PagerDuty during maintenance.
  3. Schedule maintenance as usual under Monitoring → Maintenance, covering at least one monitor or server, with alerts held back.

InfraNest then creates a matching PagerDuty maintenance window, moves it if you change the times, and removes it when you cancel or finish early. Repeating maintenance gets one window at a time, for the next occurrence.

WarningWhile the window is open, PagerDuty holds back every alert on that service, from any tool — not just InfraNest's. Only switch this on where that's what you want. InfraNest never touches maintenance windows you made yourself in PagerDuty.

#Page on-call yourself

Not every problem pages on its own. A domain that expires in six days with a failed renewal, or a checkout that fails for a few percent of visitors, may be below what pages automatically, and still need someone now.

  1. Open the problem's ⋯ menu and find Page on-call under Hand it off — on a critical card in Needs you on Home, or on an open incident that PagerDuty has not been paged for (in the incident list, and on the incident's page under Create issue ▾ in the Follow-up panel).
  2. Check who it wakes. The confirmation names the person on call now, the PagerDuty service it goes to, and the urgency: high for critical problems and major incidents, low for minor ones. Pick another service from the list if this belongs to a different team.
  3. Select Page … now.

The PagerDuty incident then shows at the top of the card, and as a row in the incident's Follow-up panel, and Page on-call becomes Open … in PagerDuty, so nobody pages twice. When the finding clears or the incident is resolved, InfraNest resolves the PagerDuty incident too, unless the service is set to be resolved by a person.

NoteThis option isn't offered on warnings, and not on incidents PagerDuty was already paged for. If nobody is shown as on call, InfraNest couldn't tell who's on call for that service (for example, it was added by its integration key) — the page still reaches the service, and its escalation policy decides who is woken. Anyone whose role can change monitoring can page; each page is recorded in the audit log with their name.

#Escalation in InfraNest and in PagerDuty

InfraNest can push an outage nobody has acknowledged to your browser after 15, 30 or 60 minutes (My account → Notifications). PagerDuty's escalation policies already do this, so you may not need both. Acknowledging in PagerDuty stops InfraNest's escalation too.

#Troubleshooting

InfraNest won't accept the key. An Integration Key is 32 letters and digits. You probably pasted a REST API Access Key instead (shorter, starting u+). Copy the correct key from the service's Events API v2 integration.

Nothing pages. Check that the account isn't paused and the service shows Monitor alerts page this service, then select Send test incident.

Something InfraNest set up was changed or deleted in PagerDuty. Select Check setup on the account. It compares what InfraNest created with what's there now, shows you the result first, and repairs only what InfraNest created — after you confirm.

The account says PagerDuty no longer accepts the sign-in, or that its access changed. The person who connected probably left your PagerDuty account, or the access was changed there. Paging and two-way sync keep working. Select Connect again and sign in to the same PagerDuty account.

I acknowledged in PagerDuty and InfraNest didn't change. See Work on incidents in PagerDuty and InfraNest together.

Deploys or changes don't appear under Recent changes. Check that Send changes is on and the account isn't paused. A deploy only appears if its repository is linked to a monitor or server, the service gets monitor alerts, and InfraNest heard about the deploy within an hour.

PagerDuty didn't pause a service during maintenance. Check the switch, that the account isn't paused, and that the maintenance covers a monitor or server and holds alerts back. If PagerDuty refused, InfraNest tells you in the notification bell.

A domain or certificate incident stayed open after I renewed it. InfraNest resolves it once it sees the new expiry date (see above). If you replaced it some other way, resolve it directly in PagerDuty.

A service has an integration called "InfraNest (setting up …)". That's InfraNest's own integration, before its rename. If PagerDuty didn't accept the rename, it still works fine — rename it yourself or leave it as is.

Related articles

Try this in your own account

Connect one provider and work through these steps against your own infrastructure.

Free plan · No credit card required · Set up in minutes