Nagios alerts, routed to the right on-call engineer
Receive Nagios host/service alerts via HTTP notification command. EvoHub turns each Nagios alert into an on-call alert, runs it through your escalation policy, and pages people by voice call, mobile push and email.
How the Nagios integration works
- Create a Nagios integration in EvoHub On-Call and pick the escalation policy it should notify.
- EvoHub gives the integration its own URL (or inbound address) with a unique key — paste it into Nagios using the steps below.
- Each Nagios alert opens an EvoHub alert, and your escalation policy pages the on-call person — then the next step if nobody acknowledges.
- Resolves automatically on a Nagios RECOVERY notification.
Set up Nagios
Create the integration in EvoHub first — it shows your personal integration URL to paste below.
# 1. Add this notification command to commands.cfg — paste as-is
# ($XXX$ parts are Nagios macros, filled automatically):
define command {
command_name notify-evohub
command_line /usr/bin/curl -s -X POST "<your EvoHub integration URL>" -H "Content-Type: application/json" -d '{"host":"$HOSTNAME$","service":"$SERVICEDESC$","state":"$SERVICESTATE$","notification_type":"$NOTIFICATIONTYPE$","output":"$SERVICEOUTPUT$"}'
}
# 2. For host alerts, add a second command:
define command {
command_name notify-evohub-host
command_line /usr/bin/curl -s -X POST "<your EvoHub integration URL>" -H "Content-Type: application/json" -d '{"host":"$HOSTNAME$","service":"","state":"$HOSTSTATE$","notification_type":"$NOTIFICATIONTYPE$","output":"$HOSTOUTPUT$"}'
}
# 3. On the contact your hosts and services notify:
# service_notification_commands notify-evohub
# service_notification_options w,u,c,r
# host_notification_commands notify-evohub-host
# host_notification_options d,u,r
# The "r" is what sends RECOVERY — without it nothing
# resolves.
# Check output is pasted into the JSON unescaped. EvoHub
# repairs stray backslashes (Windows paths like c:\), quotes
# and line breaks; Nagios strips the characters listed in
# illegal_macro_output_chars (quotes, by default) itself.Nagios + EvoHub — FAQ
How do I connect Nagios to EvoHub?
In EvoHub, go to On-Call → Integrations, add Nagios, and choose an escalation policy. Then configure Nagios with the integration URL EvoHub shows you — the exact steps are on this page.
Do Nagios alerts resolve automatically in EvoHub?
Resolves automatically on a Nagios RECOVERY notification.
How is the Nagios integration priced?
Integrations are included. EvoHub bills on usage, not per seat: an ingested alert costs 1 EvoHub token (about $0.015), push and webhook notifications are free, and every account gets 200 free tokens each month.
Start free — 200 EvoHub tokens every month. See pricing.
Last updated: · EvoHub is built and operated by EvoSync Teknoloji A.Ş.