aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc
diff options
context:
space:
mode:
authorPim van den Berg2013-08-24 23:56:32 +0200
committerPim van den Berg2013-08-24 23:56:32 +0200
commit355a3138c48365876e33cae37287a5aeded9894d (patch)
tree92541beea438d0bf57011e4b7e0335a72491015a /inc
parentinc/collectd.inc.php: don't group type instances when snmp + if_octets (diff)
downloadapt-panopticon_cgp-355a3138c48365876e33cae37287a5aeded9894d.zip
apt-panopticon_cgp-355a3138c48365876e33cae37287a5aeded9894d.tar.gz
apt-panopticon_cgp-355a3138c48365876e33cae37287a5aeded9894d.tar.bz2
apt-panopticon_cgp-355a3138c48365876e33cae37287a5aeded9894d.tar.xz
inc/collectd.inc.php: typo
Diffstat (limited to 'inc')
-rw-r--r--inc/collectd.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/collectd.inc.php b/inc/collectd.inc.php
index c906aaf..c41a6f5 100644
--- a/inc/collectd.inc.php
+++ b/inc/collectd.inc.php
@@ -121,7 +121,7 @@ function group_plugindata($plugindata) {
121 if ($CONFIG['version'] >= 5 || !preg_match('/^(df|interface)$/', $item['p'])) 121 if ($CONFIG['version'] >= 5 || !preg_match('/^(df|interface)$/', $item['p']))
122 if ( 122 if (
123 $item['p'] != 'libvirt' && 123 $item['p'] != 'libvirt' &&
124 ($item['p'] != 'snmp' && $item['t'] == 'if_octets') 124 ($item['p'] != 'snmp' && $item['t'] != 'if_octets')
125 ) 125 )
126 unset($item['ti']); 126 unset($item['ti']);
127 $data[] = $item; 127 $data[] = $item;