ench(vmware-connector) Change error message to help user debug (#5066)

This commit is contained in:
Evan-Adam 2024-06-24 09:36:04 +02:00 committed by GitHub
parent 04fac2d792
commit f4052dde19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ sub generic_performance_values_historic {
return undef if (!defined($perfdata));
if (!$$perfdata[0] || !defined($$perfdata[0]->value)) {
set_response(code => -1, short_message => 'Cannot get value for counters (Maybe, object(s) cannot be reached: disconnected, not running, time not synced (see time-host mode),...)');
set_response(code => -1, short_message => 'Cannot get value for counters (Maybe, object(s) cannot be reached: disconnected, not running, time not synced (see time-host mode) check option --time-shift and ensure this specific metric is retrieved and not late in the vcenter)');
return undef;
}
foreach my $val (@$perfdata) {