Infrastructure Integration

Configuration

  1. Find the Nagios configuration file on your server (usually /etc/nagios3/nagios.cfg)

    sudo find /etc -type f -name nagios.cfg
    
  2. Configure the agent by editing /etc/netsil-dd-agent/conf.d/nagios.yamlin 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
  1. Check and make sure that all yaml files are valid with following command:

    /etc/init.d/netsil-collectors configcheck
    
  2. Restart the Agent using the following command:

    /etc/init.d/netsil-collectors restart
    
  3. Execute the info command to verify that the integration check has passed:

    /etc/init.d/netsil-collectors info