Merge pull request #26 from hecko/master

Be more specific about cause of the problem
This commit is contained in:
qgarnier 2016-07-21 15:32:31 +02:00 committed by GitHub
commit 8c0e916d50
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ sub generic_performance_values_historic {
if (!$$perfdata[0] || !defined($$perfdata[0]->value)) { if (!$$perfdata[0] || !defined($$perfdata[0]->value)) {
$manager_display->{output}->output_add(severity => 'UNKNOWN', $manager_display->{output}->output_add(severity => 'UNKNOWN',
short_msg => 'Cannot get value for counters (Maybe, object(s) cannot be reached: disconnected, not running,...)'); short_msg => 'Cannot get value for counters (Maybe, object(s) cannot be reached: disconnected, not running, time not synced (see time-host mode),...)');
return undef; return undef;
} }
foreach my $val (@$perfdata) { foreach my $val (@$perfdata) {