mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
Merge branch 'master' of https://github.com/centreon/centreon-plugins
This commit is contained in:
commit
44a6487f85
@ -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