Fix again

This commit is contained in:
Quentin Garnier 2015-04-28 13:53:44 +02:00
parent 81894be5d7
commit 1b05da1a07
1 changed files with 1 additions and 3 deletions

View File

@ -101,9 +101,7 @@ sub check_table_cpu {
my $cpu5sec = defined($self->{results}->{$options{entry}}->{$options{sec5} . '.' . $instance}) ? sprintf("%.2f", $self->{results}->{$options{entry}}->{$options{sec5} . '.' . $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;
next if ($cpu5sec eq '');
$checked = 1;
my @exits;
push @exits, $self->{perfdata}->threshold_check(value => $cpu5sec,