Merge pull request #26 from hecko/master
Be more specific about cause of the problem
This commit is contained in:
commit
8c0e916d50
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue