mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-30 17:15:11 +02:00
Update sessions.pm
My bad, fix dumb copy/paste and typo
This commit is contained in:
parent
0a407065e0
commit
1913a1d5e3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user