- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Supported OS
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 Datadog for the following:
This check can also send Nagios performance data as metrics to Datadog.
The Nagios check is included in the Datadog Agent package, so you don’t need to install anything else on your Nagios servers.
Follow the instructions below to configure this check for an Agent running on a host. For containerized environments, see the Containerized section.
To configure this check for an Agent running on a host:
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.
Note: The Nagios check can potentially emit custom metrics, which may impact your billing.
For containerized environments, see the Autodiscovery Integration Templates for guidance on applying the parameters below.
Parameter | Value |
---|---|
<INTEGRATION_NAME> | nagios |
<INIT_CONFIG> | blank or {} |
<INSTANCE_CONFIG> | {"nagios_conf": "/etc/nagios3/nagios.cfg"} |
Note: The containerized Agent should be able to access the /etc/nagios3/nagios.cfg
file to enable the Datadog-Nagios integration.
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.
Collecting logs is disabled by default in the Datadog Agent, enable it in your datadog.yaml
file:
logs_enabled: true
Add this configuration block to your nagios.d/conf.yaml
file to start collecting your Nagios logs:
logs:
- type: file
path: /opt/nagios/var/log/nagios.log
source: nagios
Change the path
parameter value based on your environment, see log_file
value in your nagios configuration file. See the sample nagios.d/conf.yaml for all available configuration options.
The check watches the Nagios events log for log lines containing these strings, emitting an event for each line:
The Nagios check does not include any service checks.
Need help? Contact Datadog support.