Infrastructure Integration

Configuration

  1. Configure the agent by editing /etc/netsil-dd-agent/conf.d/ssh_check.yamlin the collectors.

Example:

    init_config:

    instances:
      - host: localhost             # required
        username: test              # required
        # password: abcd              # optional
        # port: 22                    # optional, leaving blank defaults to port 22
        # sftp_check: True            # optional, leaving blank defaults to True
        # private_key_file:           # optional, file path to private key
        # private_key_type:           # optional, private key type rsa or ecdsa (defaults to rsa)
        # add_missing_keys: True      # optional, leaving blank defaults to 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
    

The output of the command should contain a section similar to the following:

    Checks
    ======

      [...]

      ssh_check
      ---------
          - instance #0 [OK]
          - Collected 8 metrics & 0 events

Infrastructure Datasources

Datasource Available Aggregations Unit Description
sftp.response_time avg max min sum second The response time of SFTP