diff options
| author | young-druid | 2014-04-08 19:47:55 +0100 |
|---|---|---|
| committer | young-druid | 2014-04-08 19:47:55 +0100 |
| commit | 003b4ca04d24dd3d49c66d6844fa9d36e618efd0 (patch) | |
| tree | b6a8a96f8160e3cf3a7b2dfca3486e0172f419ff | |
| parent | overview: only calculate cores when config option showload is enabled (diff) | |
| download | apt-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
| -rw-r--r-- | plugin/snmp.php | 2 |
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'; |
