diff options
Diffstat (limited to 'plugin/load.php')
-rw-r--r-- | plugin/load.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/load.php b/plugin/load.php index 0246edc..83fcf19 100644 --- a/plugin/load.php +++ b/plugin/load.php | |||
@@ -4,6 +4,7 @@ | |||
4 | 4 | ||
5 | require_once 'conf/common.inc.php'; | 5 | require_once 'conf/common.inc.php'; |
6 | require_once 'type/Default.class.php'; | 6 | require_once 'type/Default.class.php'; |
7 | require_once 'inc/collectd.inc.php'; | ||
7 | 8 | ||
8 | ## LAYOUT | 9 | ## LAYOUT |
9 | # load/load.rrd | 10 | # load/load.rrd |
@@ -35,6 +36,8 @@ $obj->rrd_title = "System load on $host"; | |||
35 | $obj->rrd_vertical = 'System load'; | 36 | $obj->rrd_vertical = 'System load'; |
36 | $obj->rrd_format = '%.2lf'; | 37 | $obj->rrd_format = '%.2lf'; |
37 | 38 | ||
39 | collectd_flush(ident_from_args($obj->args)); | ||
40 | |||
38 | $obj->rrd_graph(); | 41 | $obj->rrd_graph(); |
39 | 42 | ||
40 | ?> | 43 | ?> |