diff options
| author | Pim van den Berg | 2014-05-03 11:40:46 +0200 |
|---|---|---|
| committer | Pim van den Berg | 2014-05-03 19:19:05 +0200 |
| commit | 1bb10c398d1a3198a8b86517bd780b8122e2e69d (patch) | |
| tree | 669ea50b9b0efe268f4bb9153459f95ccfb167b5 /plugin/memory.php | |
| parent | type: move generic functions to base class (diff) | |
| download | apt-panopticon_cgp-1bb10c398d1a3198a8b86517bd780b8122e2e69d.zip apt-panopticon_cgp-1bb10c398d1a3198a8b86517bd780b8122e2e69d.tar.gz apt-panopticon_cgp-1bb10c398d1a3198a8b86517bd780b8122e2e69d.tar.bz2 apt-panopticon_cgp-1bb10c398d1a3198a8b86517bd780b8122e2e69d.tar.xz | |
move collectd_flush function to base class
Diffstat (limited to '')
| -rw-r--r-- | plugin/memory.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/memory.php b/plugin/memory.php index 20fb200..9fd2e30 100644 --- a/plugin/memory.php +++ b/plugin/memory.php | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | require_once 'conf/common.inc.php'; | 5 | require_once 'conf/common.inc.php'; |
| 6 | require_once 'type/GenericStacked.class.php'; | 6 | require_once 'type/GenericStacked.class.php'; |
| 7 | require_once 'inc/collectd.inc.php'; | ||
| 8 | 7 | ||
| 9 | ## LAYOUT | 8 | ## LAYOUT |
| 10 | # memory/ | 9 | # memory/ |
| @@ -42,5 +41,4 @@ $obj->rrd_title = 'Physical memory utilization'; | |||
| 42 | $obj->rrd_vertical = 'Bytes'; | 41 | $obj->rrd_vertical = 'Bytes'; |
| 43 | $obj->rrd_format = '%5.1lf%s'; | 42 | $obj->rrd_format = '%5.1lf%s'; |
| 44 | 43 | ||
| 45 | collectd_flush($obj->identifiers); | ||
| 46 | $obj->rrd_graph(); | 44 | $obj->rrd_graph(); |
