Update sessions.pm

My bad, fix dumb copy/paste and typo
This commit is contained in:
Sims24 2015-10-08 10:23:35 +02:00
parent 55b9cc39d7
commit 09ca75f92e
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ sub run {
my $spu_done = 0;
my $cp_total = $result->{$oid_nsResSessMaxium};
my $cp_used = $result->{$oid_nsResSessAllocate};
my $cp_failed = $result->{oid_nsResSessAllocate};
my $cp_failed = $result->{$oid_nsResSessFailed};
my $prct_used = $cp_used * 100 / $cp_total;
my $prct_failed = $cp_failed * 100 / $cp_total;
$spu_done = 1;