When running from cron, nothing sets MUNIN_PLUGSTATE as needed. Runnig
any of the http_load_ plugins through munin-run with the cron argument
fixes the issue, otherwise the plugin cannot find its cache, and no data
is output.
While at it, we also rope-in MUNIN_DEDUG, so we can use --pidebug from
munin-run.
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Munin 1.0 supports fieldnames of at most 19 characters. For domain names
longer than that, this plugin simply truncate the names in its own cache
down to 19.
This creates an issue with the `response` graph, which appends the HTTP
status code to the hostname to make multiple variables. Truncating to
this string loses this information, leading to an empty graph.
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Note that the configuration file syntax has changed. You need one "url"
variable per URL now, numbered starting with 1, e.g. url1, url2, url3.
Each one can be configured by suffixing its variable, e.g. url1_proxy,
url2_proxy, etc.