|
@@ -26,6 +26,7 @@ my $adh_pwd = '';
|
|
|
# Abonne concerne
|
|
|
my $prenom = $ARGV[0];
|
|
|
my $nom = $ARGV[1];
|
|
|
+
|
|
|
# Nom composes, voir https://repo.ldn-fai.net/redmine/issues/100
|
|
|
$nom =~ s/ /./g;
|
|
|
|
|
@@ -51,6 +52,7 @@ $mech->get($graphs_uri);
|
|
|
$graphs_uri =~ s/-stats/-statimg/;
|
|
|
$mech->get($graphs_uri."&img=total.rrd&freq=daily", ':content_file' => "total.png");
|
|
|
$mech->get($graphs_uri."&img=total-fai-locaux.rrd&freq=daily", ':content_file' => "failocaux.png");
|
|
|
+$mech->get($graphs_uri."&img=moyenne&freq=daily", ':content_file' => "moyenne.png");
|
|
|
|
|
|
# Recuperation des graphs individuels
|
|
|
$graphs_uri .= "&img=$prenom.$nom%40fdn.nerim.rrd&freq=";
|