Infrastructure Integration¶
Configuration¶
-
Find the Nagios configuration file on your server (usually /etc/nagios3/nagios.cfg)
sudo find /etc -type f -name nagios.cfg
-
Configure the agent by editing
/etc/nutanix/epoch-dd-agent/conf.d/nagios.yaml
in the collectors.
Example:
init_config:
# check_freq: 15
instances:
- nagios_conf: /etc/nagios3/nagios.cfg
# # Default to True
# collect_events: True
#
# # Default to False
# collect_host_performance_data: False
# collect_service_performance_data: False
-
Check and make sure that all yaml files are valid with following command:
/etc/init.d/epoch-collectors configcheck
-
Restart the Agent using the following command:
/etc/init.d/epoch-collectors restart
-
Execute the info command to verify that the integration check has passed:
/etc/init.d/epoch-collectors info