up rrd conf

This commit is contained in:
Guillaume Castagnino 2016-05-25 09:58:00 +02:00
parent 16383f48a5
commit 3e6aeca9cd
1 changed files with 2 additions and 13 deletions

View File

@ -16,7 +16,7 @@ use lib "$dirname";
use MyRRD;
my $rrd = '/var/lib/rrd';
my $img = '/home/www/www.xwing.info/rrd';
my $img = '/home/www/coruscant.xwing.info/rrd';
my $MyRRD = new MyRRD($rrd, $img);
@ -43,18 +43,7 @@ $MyRRD->sensorsfan({
# serveurs
#$MyRRD->apache('http://127.0.0.1:10080/server-status?auto');
$MyRRD->nginx('http://127.0.0.1:8080/server-status');
$MyRRD->haproxy('/var/run/haproxy.sock',
{
'http' => {
'back-http' => [],
'back-dev-debian' => [],
},
'socket' => {
'front-webapp-ssl' => {},
},
}
);
$MyRRD->nginx('http://127.0.0.1:80/server-status');
# network
$MyRRD->networkInterface('ppp0', 'Interface PPPoE');