2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
Olivier Mehani
f4e73b807f [http_load_] Use perldoc
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-07-23 13:46:39 +10:00
Olivier Mehani
ece1c2b024 [http_load_] Default to Multigraph 2017-06-18 20:55:38 +10:00
Olivier Mehani
3216a70b13 [http_load_] Add multigraph support
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-06-16 20:50:06 +10:00
Olivier Mehani
d51266a358 [http_load_] Use separate subroutines for config output
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-06-16 20:50:06 +10:00
Olivier Mehani
1ee2a115f7 [http_load_] Filter <link> based on rel, and <meta>
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-06-15 14:48:32 +10:00
Olivier Mehani
cb2a0e6488 [http_load_] Also count elements served over HTTPS
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-06-15 14:48:32 +10:00
Olivier Mehani
17b36345fa [http_load_] Better User-Agent
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-06-15 14:48:32 +10:00
Olivier Mehani
caea776610 [http_load_] link $debug to $MUNIN_DEBUG (munin-run --pidebug) 2017-06-15 14:48:32 +10:00
Olivier Mehani
3deea89851 [http_load_] get_cache_file_name doesn't need the $type
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-06-15 14:48:31 +10:00
Olivier Mehani
ee72efe041 [http_load_] Document running from cron with munin-run
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>
2017-06-15 14:46:52 +10:00
Lars Kruse
4b2fcbf8b9 replace hard-coded paths (e.g. '/var/lib/munin/plugin-state') with '$MUNIN_PLUGSTATE'
see http://guide.munin-monitoring.org/en/latest/plugin/env.html
2017-04-18 23:32:55 +02:00
dipohl
62560fae23 Category Tree: Reduce number of categories 2017-02-21 15:09:54 +01:00
Olivier Mehani
ec0df0719d [http_load_] Fix issue with long domain name
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>
2017-01-07 16:52:57 +11:00
iammookli
11405c780a Support underscores in URLs; typo. 2012-11-25 17:50:47 -08:00
Steve Schnepp
08346aac58 - have some dirs 2012-02-13 18:24:46 +01:00