mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 15:14:16 +02:00
+ Fix cisco cpu
This commit is contained in:
parent
807972e328
commit
14bc6a54d8
@ -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