Nagios

Receive Nagios host and service check alerts.

InboundMonitoring & Observability
Start Free Trial

Quick Setup

Copy Webhook URL

Go to your Alert24 dashboard and copy the webhook URL for Nagios.

Configure Nagios

Add the webhook URL in your Nagios settings.

Auto-Detected

Alert24 auto-detects Nagios payloads and maps them to incidents.

Step-by-Step Setup Instructions

Nagios Webhook Setup

1.Install a webhook notification handler (e.g., nagios-webhook)
2.Configure a notification command in commands.cfg:
define command {
    command_name notify_alert24
    command_line /usr/local/bin/curl -X POST -H "Content-Type: application/json" -d '{"state":"$SERVICESTATE$","output":"$SERVICEOUTPUT$","host":"$HOSTNAME$","service":"$SERVICEDESC$"}' <WEBHOOK_URL>
}
3.Assign this command to your contact notifications

Example Webhook Payload

This is a sample payload that Nagios sends to Alert24 when an alert fires.

{
  "state": "CRITICAL",
  "host": "web-01",
  "service": "HTTP",
  "output": "HTTP CRITICAL - Socket timeout after 10 seconds",
  "type": "SERVICE",
  "timestamp": "2024-01-15 10:30:00"
}

How Alert24 Maps Nagios Data

Status Field

state

Message Field

output

Auto-Create Incidents

Yes

Auto-Resolve Incidents

Yes

Status Mapping

Alert24 StatusNagios Values
operational
OKUP
degraded
WARNINGUNKNOWN
down
CRITICALDOWN

Connect Nagios to Alert24 in minutes

Free plan includes 5 monitors, 1 status page, and incident management. No credit card required.

More Monitoring & Observability Integrations