munin-http-timing

command module
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2016 License: MIT Imports: 5 Imported by: 0

README

munin-http-timing Build Status

munin-node plugin to get detailed HTTP response timing information from requesting an URI.

rendered graph example

Usage

Build using make release, link the executable from releases/ in /etc/munin/plugins/, configure it in /etc/munin/plugin-conf.d/ and restart the munin-node service.
Two binaries are provided, one for ARMv6 (Raspberry-Pi compatible) and one for AMD64.

Configuration

URIs must be registered in the environment variables using variables named TARGET_<name>.

Example:

[http-timing]
env.TARGET_EXAMPLE https://example.com/
env.TARGET_GITHUB https://github.com/L-P

Other options:

  • env.RANDOM_DELAY (default to 0) when set to 1 requests will be delayed by a random amount. This is useful when you test many URIs on the same server and don't want to have them arrive at the same time.
  • env.USER_AGENT (default to http-timing/version) User-Agent header to send when making the HTTP requests.

Tests

# run test suite
make test

# get code coverage and display it in browser
make cover

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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