Reports the output of service checks
See our documentation web site for more details.
All desired service checks must be pre-installed and be executable by the root user.
- Download an archive file for the
Nagios
Integration - Extract
nagios-definition.yml
and thebin
directory into/var/db/newrelic-infra/newrelic-integrations
- Add execute permissions for the binary file
nri-nagios
(if required) - Extract
nagios-config.yml.sample
andservice_check_config.yml.sample
into/etc/newrelic-infra/integrations.d
To run the Nagios integration, you must have the agent installed (see agent installation).
To use the Nagios integration, first rename nagios-config.yml.sample
to nagios-config.yml
, then configure the integration
by editing the fields in the file.
You can view your data in Insights by creating your own NRQL queries. To do so, use the NagiosServiceCheckSample event type.
- Supported OS: No restrictions
Assuming you have the source code, you can build and run the Nagios integration locally
- Go to the directory of the Nagios Integration and build it
$ make
- The command above will execute tests for the Nagios integration and build an executable file called
nri-nagios
in thebin
directory
$ ./bin/nri-nagios --help
For managing external dependencies, the govendor tool is used. It is required to lock all external dependencies to a specific version (if possible) in the vendor directory.