summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes/base.pm
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2006-08-31 01:12:31 +0200
committerTobi Oetiker <tobi@oetiker.ch>2006-08-31 01:12:31 +0200
commit8edaa7fee41f9d5597a656123a481f2483906053 (patch)
tree81d39707ebc2cc1523744219e1a9f8676052d5a2 /lib/Smokeping/probes/base.pm
parenta1e648c79fc9300d981b45c0d31b594c819b51c7 (diff)
downloadsmokeping-8edaa7fee41f9d5597a656123a481f2483906053.tar.gz
smokeping-8edaa7fee41f9d5597a656123a481f2483906053.tar.xz
added alert mailtemplates and new probe config ProbeUnit
Diffstat (limited to 'lib/Smokeping/probes/base.pm')
-rw-r--r--lib/Smokeping/probes/base.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Smokeping/probes/base.pm b/lib/Smokeping/probes/base.pm
index 4a83b50..e33416f 100644
--- a/lib/Smokeping/probes/base.pm
+++ b/lib/Smokeping/probes/base.pm
@@ -90,6 +90,10 @@ sub ProbeDesc ($) {
return "Probe which does not overrivd the ProbeDesc methode";
}
+sub ProbeUnit ($) {
+ return "Seconds";
+}
+
sub target2dynfile ($$) {
# the targets are stored in the $self->{targets}
# hash as filenames pointing to the RRD files