diff options
author | Pim van den Berg | 2013-08-24 23:56:32 +0200 |
---|---|---|
committer | Pim van den Berg | 2013-08-24 23:56:32 +0200 |
commit | 355a3138c48365876e33cae37287a5aeded9894d (patch) | |
tree | 92541beea438d0bf57011e4b7e0335a72491015a | |
parent | inc/collectd.inc.php: don't group type instances when snmp + if_octets (diff) | |
download | apt-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
-rw-r--r-- | inc/collectd.inc.php | 2 |
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; |