PagerDuty alerts for every outage
hostnag triggers a PagerDuty incident on down and resolves it on recovery.
Included on Business.
Down
- Action
- trigger
- Summary
- [Critical] https://www.example.com/ is down
- Severity
- critical
- Dedup key
hostnag:mon-3
- Source
https://www.example.com/
- Group
- Client A
- Monitor
- Marketing site
- Target
- https://www.example.com/
- Down since
- 12 Sept 2026, 07:58 UTC
- Locations
- US East, Frankfurt
- Status code
- 503
- Last error
- unexpected_status: 503
- Summary
- Down from 2 of 3 locations (US East, Frankfurt). Last error: unexpected_status: 503.
Set up
- 01
Add an Events API v2 integration
In PagerDuty, add an Events API v2 integration to a service and copy its integration key.
- 02
Paste the routing key
hostnag triggers on down and resolves on recovery, deduplicated by monitor.
What arrives
Rendered by the same code that sends it.Back up
- Action
- resolve
- Summary
- [Recovered] https://www.example.com/ is back up after 1 h 15 min
- Severity
- info
- Dedup key
hostnag:mon-3
- Source
https://www.example.com/
- Group
- Client A
- Monitor
- Marketing site
- Target
- https://www.example.com/
- Down since
- 12 Sept 2026, 07:58 UTC
- Duration
- 1 h 15 min
- Summary
- https://www.example.com/ answered again from every location. It was down for 1 h 15 min.
Routing
Every alert follows the group's alert policy: which channels a route goes to and the minimum severity each one takes, in bands of critical, warning and info. Quiet hours hold non-critical alerts for email, Slack, Discord, SMS, Teams and Telegram until the window closes, then deliver one digest; critical alerts are never held, and webhook, PagerDuty and Opsgenie always deliver right away since they hand off to another machine, not a person. A maintenance window on a group or a monitor suppresses alerts for its duration while checks keep running. An alert nobody acknowledges escalates through up to three tiers, each after its own number of minutes, and can be acknowledged with one tap from the alert message itself.
Questions
How does hostnag avoid duplicate incidents?
Every event for the same monitor shares one dedup key, so a trigger and its resolve pair up automatically.
Is PagerDuty available on every plan?
No. PagerDuty is included on Business.
Watches
Add a host. Hear about it in PagerDuty.
Start free