mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 08:04:36 +02:00
+ Fix cisco cpu
This commit is contained in:
parent
9f07140242
commit
03354fa47d
@ -88,9 +88,7 @@ sub check_table_cpu {
|
|||||||
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;
|
||||||
|
|
||||||
# Case that it's maybe other CPU oid in table for datas.
|
# Case that it's maybe other CPU oid in table for datas.
|
||||||
if (!defined($cpu5sec) && !defined($cpu1min) && !defined($cpu5min)) {
|
next if (!defined($cpu5sec) && !defined($cpu1min) && !defined($cpu5min));
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
$checked = 1;
|
$checked = 1;
|
||||||
my @exits;
|
my @exits;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user