diff options
author | Pim van den Berg | 2012-09-07 13:48:21 +0200 |
---|---|---|
committer | Pim van den Berg | 2012-09-07 14:09:34 +0200 |
commit | e3f1cc22b6f392ba808034ef58e3b7946e3f0ba8 (patch) | |
tree | dd7c34e42c0a25b0e2ca47c55a3e3cf9c58875b3 /detail.php | |
parent | plugin/snmp: add support for if_octets (diff) | |
download | apt-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.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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'); |