Skip to content

Infrastructure Integration

Configuration

  1. Configure the agent by editing /etc/nutanix/epoch-dd-agent/conf.d/lighttpd.yamlin the collectors.

Example:

    init_config:
    instances:
      # For each instance, you have an `lighttpd_status_url` and (optionally)
      # a list of tags.

      - lighttpd_status_url: http://localhost/server-status?auto
      #   tags:
      #     - instance:foo
      #
      # - lighttpd_status_url: http://example2.com:1234/server-status?auto
      #   tags:
      #     - instance:bar
      #
      # # Lighttpd2 status url
      # - lighttpd_status_url: http://example.com/server-status?format=plain
      #   tags:
      #     - instance:l2
  1. Check and make sure that all yaml files are valid with following command:

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

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

    /etc/init.d/epoch-collectors info
    

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

    Checks
    ======

      [...]

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

Infrastructure Datasources

Datasource Available Aggregations Unit Description
lighttpd.performance.idle_server avg max min sum connection The number of idle connections.
lighttpd.performance.busy_servers avg max min sum connection The number of active connections.
lighttpd.performance.uptime avg max min sum second The amount of time the server has been up and running.
lighttpd.net.bytes avg max min sum byte The number of bytes sent and received since start.
lighttpd.net.hits avg max min sum hit The number of hits since start.
lighttpd.performance.memory_usage avg max min sum byte The amount of memory used by the server.
lighttpd.net.requests_avg avg max min sum request/second The average number of requests per second since start.
lighttpd.net.bytes_out_avg avg max min sum byte/second The average number of bytes sent per second since start.
lighttpd.net.bytes_in_avg avg max min sum byte/second The average number of bytes received per second since start.
lighttpd.net.connections_avg avg max min sum connection/second The average number of connections per second since start.
lighttpd.connections.state_start avg max min sum connection The number of active connections in the state of initializing the read-idle timer.
lighttpd.connections.state_read_header avg max min sum connection The number of active connections in the state of reading the http request header.
lighttpd.connections.state_handle_request avg max min sum connection The number of active connections in the state of handling the request internally.
lighttpd.connections.state_write_response avg max min sum connection The number of active connections in the state of writing the response to the network.
lighttpd.connections.state_keep_alive avg max min sum connection The number of idle connections.
lighttpd.net.requests_avg_5sec avg max min sum request/second The average number of requests per second in the past 5 seconds.
lighttpd.net.bytes_out_avg_5sec avg max min sum byte/second The average number of bytes sent per second in the past 5 seconds.
lighttpd.net.bytes_in_avg_5sec avg max min sum byte/second The average number of bytes received per second in the past 5 seconds.
lighttpd.net.connections_avg_5sec avg max min sum connection/second The average number of connections per second in the past 5 seconds.
lighttpd.net.requests_total avg max min sum request/second The number of requests per second.
lighttpd.net.bytes_out avg max min sum byte/second The number of bytes sent per second.
lighttpd.net.bytes_in avg max min sum byte/second The number of bytes received per second.
lighttpd.net.connections_total avg max min sum connection/second The total number of connections per second.
lighttpd.response.status_1xx avg max min sum response/second The number of 1xx status codes generated per second.
lighttpd.response.status_2xx avg max min sum response/second The number of 2xx status codes generated per second.
lighttpd.response.status_3xx avg max min sum response/second The number of 3xx status codes generated per second.
lighttpd.response.status_4xx avg max min sum response/second The number of 4xx status codes generated per second.
lighttpd.response.status_5xx avg max min sum response/second The number of 5xx status codes generated per second.
lighttpd.net.bytes_per_s avg max min sum byte/second The number of bytes sent and received per second.
lighttpd.net.request_per_s avg max min sum request/second The number of requests per second.