From dd3accda13569f43b6aa83025698a3a247b2c5a1 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Wed, 30 Aug 2006 08:33:17 +0000 Subject: log the fact that no replies came back from a device --- lib/Smokeping/probes/base.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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" -- cgit v1.2.3-24-g4f1b