update php-script
This commit is contained in:
parent
cb48f5bd03
commit
5af595bd88
10
sammler.php
10
sammler.php
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
define('CONFIG', 'sammler_graph.conf');
|
||||
define('BASE_DIR', '/var/www/rrd/');
|
||||
define('RRDTOOL', '/usr/local/bin/rrdtool');
|
||||
define('BASE_DIR', '/var/lib/rrd/');
|
||||
define('RRDTOOL', '/usr/bin/rrdtool');
|
||||
|
||||
function setup_html($conf) {
|
||||
echo "<html><head><title>sammler graph setup</title>\n";
|
||||
@ -179,12 +179,6 @@ function create_config() {
|
||||
);
|
||||
}
|
||||
|
||||
$conf['hosts'][] = array(
|
||||
'hostname' => 'localhost',
|
||||
'show' => true,
|
||||
'rrds' => $rrds,
|
||||
);
|
||||
|
||||
$hosts = get_hostdirs();
|
||||
foreach ($hosts as $host) {
|
||||
$rrds = array();
|
||||
|
Loading…
Reference in New Issue
Block a user