Skip to content

collectors HttpdCollector

Rob Smith edited this page Jan 2, 2013 · 16 revisions

HttpdCollector

Collect stats from Apache HTTPD server using mod_status

Dependencies

  • mod_status
  • httplib
  • urlparse

Options - Generic Options

Setting Default Description Type
byte_unit byte Default numeric output(s) str
enabled False Enable collecting these metrics bool
measure_collector_time False Collect the collector run time in ms bool
urls localhost http://localhost:8080/server-status?auto, Urls to server-status in auto format, comma seperated, Format 'nickname http://host:port/server-status?auto, , nickname http://host:port/server-status?auto, etc' list

Example Output

servers.hostname.httpd.nickname1.BusyWorkers 9
servers.hostname.httpd.nickname1.BytesPerReq 5418
servers.hostname.httpd.nickname1.BytesPerSec 165
servers.hostname.httpd.nickname1.IdleWorkers 0
servers.hostname.httpd.nickname1.ReqPerSec 0
servers.hostname.httpd.nickname1.TotalAccesses 8314
servers.hostname.httpd.nickname2.BusyWorkers 9
servers.hostname.httpd.nickname2.BytesPerReq 5418
servers.hostname.httpd.nickname2.BytesPerSec 165
servers.hostname.httpd.nickname2.IdleWorkers 0
servers.hostname.httpd.nickname2.ReqPerSec 0
servers.hostname.httpd.nickname2.TotalAccesses 8314
Clone this wiki locally