up rrd conf
This commit is contained in:
parent
16383f48a5
commit
3e6aeca9cd
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue