Send events from your Nagios-monitored infrastructure to Datadog for richer alerting and to help correlate Nagios events with metrics from your Datadog-monitored infrastructure.
This check watches your Nagios server's logs and sends events to your Datadog event stream: track service flaps, host state changes, passive service checks, host and service downtimes, and more. This check can also send Nagios performance data as metrics to Datadog.
Follow the instructions below to install and configure this check for an Agent running on a host. For containerized environments, see the Autodiscovery Integration Templates for guidance on applying these instructions.
The Nagios check is included in the Datadog Agent package, so you don't need to install anything else on your Nagios servers.
Edit the nagios.d/conf.yaml
file in the conf.d/
folder at the root of your Agent's configuration directory. See the sample nagios.d/conf.yaml for all available configuration options.
Restart the Agent to start sending Nagios events and (optionally) performance data metrics to Datadog.
The Nagios check can potentially emit custom metrics, which may impact your billing.
Run the Agent's status subcommand and look for nagios
under the Checks section.
With the default configuration, the Nagios check doesn't collect any metrics. But if you set collect_host_performance_data
and/or collect_service_performance_data
to True
, the check watches for Nagios performance data and submits it as gauge metrics to Datadog.
The check watches the Nagios events log for log lines containing these strings, emitting an event for each line:
- SERVICE FLAPPING ALERT
- ACKNOWLEDGE_SVC_PROBLEM
- SERVICE ALERT
- HOST ALERT
- PASSIVE SERVICE CHECK
- CURRENT SERVICE STATE
- ACKNOWLEDGE_HOST_PROBLEM
- CURRENT HOST STATE
- SERVICE NOTIFICATION
- HOST DOWNTIME ALERT
- PROCESS_SERVICE_CHECK_RESULT
- SERVICE DOWNTIME ALERT
The Nagios check does not include any service checks.
Need help? Contact Datadog support.