summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES1
-rw-r--r--lib/Smokeping/probes/base.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 562db7e..8b71294 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,4 @@
+* create a log entry when there are zero replies from a device.
* maintaining trunk and branch is not realy sensible the way smokeping evolves.
I have merged everything back to trunk -- tobi
* Allow several Mailservers to be specified in Mailhost -- tobi
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"