mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
Update sessions.pm
My bad, fix dumb copy/paste and typo
This commit is contained in:
parent
55b9cc39d7
commit
09ca75f92e
@ -78,7 +78,7 @@ sub run {
|
|||||||
my $spu_done = 0;
|
my $spu_done = 0;
|
||||||
my $cp_total = $result->{$oid_nsResSessMaxium};
|
my $cp_total = $result->{$oid_nsResSessMaxium};
|
||||||
my $cp_used = $result->{$oid_nsResSessAllocate};
|
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_used = $cp_used * 100 / $cp_total;
|
||||||
my $prct_failed = $cp_failed * 100 / $cp_total;
|
my $prct_failed = $cp_failed * 100 / $cp_total;
|
||||||
$spu_done = 1;
|
$spu_done = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user