mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
Fix again
This commit is contained in:
parent
81894be5d7
commit
1b05da1a07
@ -102,8 +102,6 @@ sub check_table_cpu {
|
|||||||
my $cpu1min = defined($self->{results}->{$options{entry}}->{$options{min1} . '.' . $instance}) ? sprintf("%.2f", $self->{results}->{$options{entry}}->{$options{min1} . '.' . $instance}) : undef;
|
my $cpu1min = defined($self->{results}->{$options{entry}}->{$options{min1} . '.' . $instance}) ? sprintf("%.2f", $self->{results}->{$options{entry}}->{$options{min1} . '.' . $instance}) : undef;
|
||||||
my $cpu5min = defined($self->{results}->{$options{entry}}->{$options{min5} . '.' . $instance}) ? sprintf("%.2f", $self->{results}->{$options{entry}}->{$options{min5} . '.' . $instance}) : undef;
|
my $cpu5min = defined($self->{results}->{$options{entry}}->{$options{min5} . '.' . $instance}) ? sprintf("%.2f", $self->{results}->{$options{entry}}->{$options{min5} . '.' . $instance}) : undef;
|
||||||
|
|
||||||
next if ($cpu5sec eq '');
|
|
||||||
|
|
||||||
$checked = 1;
|
$checked = 1;
|
||||||
my @exits;
|
my @exits;
|
||||||
push @exits, $self->{perfdata}->threshold_check(value => $cpu5sec,
|
push @exits, $self->{perfdata}->threshold_check(value => $cpu5sec,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user