telegraf/plugins/inputs/apache
Cameron Sparr 2eee1b84fb
break telegraf registry into separate package
this is for supporting external plugins.

external plugins will depend on a few telegraf interface types, as well
as a common telegraf registry.

this will allow external and internal plugins to both share this package
and make it easier to vendor/version the whole thing semantically, which
will make it easier to keep plugins supported across build and telegraf
versions.

see #1717
2017-02-06 11:16:29 +00:00
..
README.md Apache input enhancements ( added Basic Auth and SSL skipverify ) (#1964) 2016-11-15 10:52:24 -05:00
apache.go break telegraf registry into separate package 2017-02-06 11:16:29 +00:00
apache_test.go fix datarace in input apache plugin 2016-06-22 14:42:47 +01:00

README.md

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. Defalt 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