mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 00:24:46 +02:00
Fix #55
This commit is contained in:
parent
346653afbf
commit
602bef171b
@ -399,7 +399,13 @@ sub generic_performance_values_historic {
|
||||
}
|
||||
};
|
||||
if ($@) {
|
||||
$obj_vmware->{logger}->writeLogError("'" . $obj_vmware->{whoaim} . "' $@");
|
||||
if ($@ =~ /querySpec.interval.*InvalidArgumentFault/msi) {
|
||||
$manager_display->{output}->output_add(severity => 'UNKNOWN',
|
||||
short_msg => sprintf("Interval '%s' is surely not supported for the managed entity (caller: %s)",
|
||||
$interval, join('--', caller)));
|
||||
} else {
|
||||
$obj_vmware->{logger}->writeLogError("'" . $obj_vmware->{whoaim} . "' $@");
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
return \%results;
|
||||
|
Loading…
x
Reference in New Issue
Block a user