apache

package
v0.0.0-...-c6d3e3d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2017 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Telegraf plugin: Apache

Plugin arguments:
  • urls []string: List of apache-status URLs to collect from. Default is "http://localhost/server-status?auto".
  • username string: Username for HTTP basic authentication
  • password string: Password for HTTP basic authentication
  • timeout duration: time that the HTTP connection will remain waiting for response. Default 4 seconds ("4s")
Optional SSL Config
  • ssl_ca string: the full path for the SSL CA certicate
  • ssl_cert string: the full path for the SSL certificate
  • ssl_key string: the full path for the key file
  • insecure_skip_verify bool: if true HTTP client will skip all SSL verifications related to peer and host. Default to false
Description

The Apache plugin collects from the /server-status?auto URL. See apache.org/server-status?auto for an example. And here for the apache mod_status documentation.

Measurements:

Meta:

  • tags: port=<port>, server=url

  • apache_TotalAccesses

  • apache_TotalkBytes

  • apache_CPULoad

  • apache_Uptime

  • apache_ReqPerSec

  • apache_BytesPerSec

  • apache_BytesPerReq

  • apache_BusyWorkers

  • apache_IdleWorkers

  • apache_ConnsTotal

  • apache_ConnsAsyncWriting

  • apache_ConnsAsyncKeepAlive

  • apache_ConnsAsyncClosing

Scoreboard measurements
  • apache_scboard_waiting
  • apache_scboard_starting
  • apache_scboard_reading
  • apache_scboard_sending
  • apache_scboard_keepalive
  • apache_scboard_dnslookup
  • apache_scboard_closing
  • apache_scboard_logging
  • apache_scboard_finishing
  • apache_scboard_idle_cleanup
  • apache_scboard_open

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apache

type Apache struct {
	Urls            []string
	Username        string
	Password        string
	ResponseTimeout internal.Duration
	// Path to CA file
	SSLCA string `toml:"ssl_ca"`
	// Path to host cert file
	SSLCert string `toml:"ssl_cert"`
	// Path to cert key file
	SSLKey string `toml:"ssl_key"`
	// Use SSL but skip chain & host verification
	InsecureSkipVerify bool
}

func (*Apache) Description

func (n *Apache) Description() string

func (*Apache) Gather

func (n *Apache) Gather(acc telegraf.Accumulator) error

func (*Apache) SampleConfig

func (n *Apache) SampleConfig() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL