diff options
Diffstat (limited to '')
-rw-r--r-- | plugin/uptime.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/plugin/uptime.php b/plugin/uptime.php deleted file mode 100644 index ca45d76..0000000 --- a/plugin/uptime.php +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | <?php | ||
2 | |||
3 | # Collectd Uptime plugin | ||
4 | |||
5 | require_once 'conf/common.inc.php'; | ||
6 | require_once 'type/Uptime.class.php'; | ||
7 | |||
8 | ## LAYOUT | ||
9 | # uptime/uptime.rrd | ||
10 | |||
11 | $obj = new Type_Uptime($CONFIG, $_GET); | ||
12 | $obj->data_sources = array('value'); | ||
13 | $obj->legend = array( | ||
14 | 'value' => 'Current', | ||
15 | ); | ||
16 | $obj->colors = array( | ||
17 | 'value' => '00e000', | ||
18 | ); | ||
19 | $obj->rrd_title = 'Uptime'; | ||
20 | $obj->rrd_vertical = 'Days'; | ||
21 | $obj->rrd_format = '%.1lf'; | ||
22 | |||
23 | $obj->rrd_graph(); | ||