Nagios
StackState Self-hosted v5.1.x
Last updated
StackState Self-hosted v5.1.x
Last updated
The Nagios StackPack allows StackState to connect to Nagios. We support the Nagios version 5.x onwards.
Using this StackPack, you can:
map Nagios alerts onto your topology
Nagios is a .
The following prerequisites need to be met:
must be installed on a single machine which can connect to Nagios and StackState.
A Nagios instance must be running.
The Nagios StackPack requires the following parameters to collect the topology information:
Nagios HostName - the Nagios HostName from which topology need to be collected.
NOTE - Make sure once Nagios is installed properly, you configure your hostname
and rename from localhost
to proper fully qualified domain name.
To enable the Nagios check and begin collecting data from your Nagios instance:
Edit the Agent integration configuration file /etc/stackstate-agent/conf.d/nagios.d/conf.yaml
:
Include details of your Nagios instance:
nagios_conf - path to the nagios.cfg
file
By default, the Nagios check won't collect any metrics. To enable data collection, set one or both of the following to True:
collect_host_performance_data
collect_service_performance_data.
Once the Agent is restarted, wait for the Agent to collect data and send it to StackState.
Nagios StackState Agent check tails Nagios config and log files, so it should have permission to read those files. If you run StackState Agent with some other user than root
, the StackState Agent user must be added to the same group that's attached to the config and log files. Note that manually setting read permission isn't an option as the files can sometimes be recreated by Nagios.
Nagios StackPack v2.6.3 (2021-07-19)
Improvement: Remove API-Integration references from the documentation.
to publish the configuration changes.