aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/detail.php
diff options
context:
space:
mode:
authorPim van den Berg2012-09-07 13:48:21 +0200
committerPim van den Berg2012-09-07 14:09:34 +0200
commite3f1cc22b6f392ba808034ef58e3b7946e3f0ba8 (patch)
treedd7c34e42c0a25b0e2ca47c55a3e3cf9c58875b3 /detail.php
parentplugin/snmp: add support for if_octets (diff)
downloadapt-panopticon_cgp-e3f1cc22b6f392ba808034ef58e3b7946e3f0ba8.zip
apt-panopticon_cgp-e3f1cc22b6f392ba808034ef58e3b7946e3f0ba8.tar.gz
apt-panopticon_cgp-e3f1cc22b6f392ba808034ef58e3b7946e3f0ba8.tar.bz2
apt-panopticon_cgp-e3f1cc22b6f392ba808034ef58e3b7946e3f0ba8.tar.xz
add support for varnish plugin categories
Since commit collectd-4.10.0-88-g02e12db the varnish plugin groups collected values in categories. The collectd filestructure used for varnish is now: <plugin>-<category>-<plugin_instance>/<type>-<type_instance> Because this isn't distinguishable from a regular plugin like df, ... df-var-tmp/df_complex-free.rrd ("var" isn't the category here) ... the category is only set with the varnish plugin. Reported-by: Jonathan Huot <jonathan.huot@gmail.com>
Diffstat (limited to 'detail.php')
-rw-r--r--detail.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/detail.php b/detail.php
index a7b2cd4..503a411 100644
--- a/detail.php
+++ b/detail.php
@@ -14,6 +14,7 @@ if (empty($_GET['y']))
14$host = validate_get(GET('h'), 'host'); 14$host = validate_get(GET('h'), 'host');
15$plugin = validate_get(GET('p'), 'plugin'); 15$plugin = validate_get(GET('p'), 'plugin');
16$pinstance = validate_get(GET('pi'), 'pinstance'); 16$pinstance = validate_get(GET('pi'), 'pinstance');
17$category = validate_get(GET('c'), 'category');
17$type = validate_get(GET('t'), 'type'); 18$type = validate_get(GET('t'), 'type');
18$tinstance = validate_get(GET('ti'), 'tinstance'); 19$tinstance = validate_get(GET('ti'), 'tinstance');
19$width = GET('x'); 20$width = GET('x');