diff options
Diffstat (limited to 'plugin/entropy.php')
-rw-r--r-- | plugin/entropy.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/entropy.php b/plugin/entropy.php index dcfbcc8..a4379ab 100644 --- a/plugin/entropy.php +++ b/plugin/entropy.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 | # entropy/entropy.rrd | 10 | # entropy/entropy.rrd |
@@ -31,6 +32,8 @@ $obj->rrd_title = "Available entropy on $host"; | |||
31 | $obj->rrd_vertical = 'Bits'; | 32 | $obj->rrd_vertical = 'Bits'; |
32 | $obj->rrd_format = '%4.0lf'; | 33 | $obj->rrd_format = '%4.0lf'; |
33 | 34 | ||
35 | collectd_flush(ident_from_args($obj->args)); | ||
36 | |||
34 | $obj->rrd_graph(); | 37 | $obj->rrd_graph(); |
35 | 38 | ||
36 | ?> | 39 | ?> |