aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin
diff options
context:
space:
mode:
authoryoung-druid2014-04-08 19:47:55 +0100
committeryoung-druid2014-04-08 19:47:55 +0100
commit003b4ca04d24dd3d49c66d6844fa9d36e618efd0 (patch)
treeb6a8a96f8160e3cf3a7b2dfca3486e0172f419ff /plugin
parentoverview: only calculate cores when config option showload is enabled (diff)
downloadapt-panopticon_cgp-003b4ca04d24dd3d49c66d6844fa9d36e618efd0.zip
apt-panopticon_cgp-003b4ca04d24dd3d49c66d6844fa9d36e618efd0.tar.gz
apt-panopticon_cgp-003b4ca04d24dd3d49c66d6844fa9d36e618efd0.tar.bz2
apt-panopticon_cgp-003b4ca04d24dd3d49c66d6844fa9d36e618efd0.tar.xz
fix: return operator prevents us from seeing a graph
Diffstat (limited to 'plugin')
-rw-r--r--plugin/snmp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/snmp.php b/plugin/snmp.php
index 0cbb32a..d3cdb96 100644
--- a/plugin/snmp.php
+++ b/plugin/snmp.php
@@ -27,7 +27,7 @@ switch(GET('t')) {
27 require_once 'type/Default.class.php'; 27 require_once 'type/Default.class.php';
28 $obj = new Type_Default($CONFIG); 28 $obj = new Type_Default($CONFIG);
29 $obj->rrd_title = sprintf('SNMP: %s (%s)', $obj->args['type'], $obj->args['tinstance']); 29 $obj->rrd_title = sprintf('SNMP: %s (%s)', $obj->args['type'], $obj->args['tinstance']);
30 return; 30 break;
31} 31}
32 32
33$obj->rrd_format = '%5.1lf%s'; 33$obj->rrd_format = '%5.1lf%s';