summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2006-08-30 10:33:17 +0200
committerTobi Oetiker <tobi@oetiker.ch>2006-08-30 10:33:17 +0200
commitdd3accda13569f43b6aa83025698a3a247b2c5a1 (patch)
tree7a124b249d2711fa55d0a638b6efe3ba700daf9d /lib/Smokeping
parentc4c40a6046548f022440d8ccfdae49da9fa3a5e5 (diff)
downloadsmokeping-dd3accda13569f43b6aa83025698a3a247b2c5a1.tar.gz
smokeping-dd3accda13569f43b6aa83025698a3a247b2c5a1.tar.xz
log the fact that no replies came back from a device
Diffstat (limited to 'lib/Smokeping')
-rw-r--r--lib/Smokeping/probes/base.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Smokeping/probes/base.pm b/lib/Smokeping/probes/base.pm
index c0525b6..4a83b50 100644
--- a/lib/Smokeping/probes/base.pm
+++ b/lib/Smokeping/probes/base.pm
@@ -131,6 +131,7 @@ sub rrdupdate_string($$)
$age = 'U';
}
if ( $entries == 0 ){
+ $self->do_log("Warning: got zero answers from $tree->{addr}($tree->{probe}) $self->{targets}{$tree}");
$age = 'U';
$loss = 'U';
if ( -f $dynbase.".adr"