summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping.pm
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2006-09-08 11:31:35 +0200
committerTobi Oetiker <tobi@oetiker.ch>2006-09-08 11:31:35 +0200
commit1947fa82b24b9f5d526f5909454c8c7168ce3bd4 (patch)
tree607b665e8d9ac582a44a332d911f7244cb0d306f /lib/Smokeping.pm
parent9778fbf78c1db9f5c77f8e82cbb0ada29f6f3913 (diff)
downloadsmokeping-1947fa82b24b9f5d526f5909454c8c7168ce3bd4.tar.gz
smokeping-1947fa82b24b9f5d526f5909454c8c7168ce3bd4.tar.xz
added alert priority to _vars array to make the parser recognize it.
Diffstat (limited to 'lib/Smokeping.pm')
-rw-r--r--lib/Smokeping.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 616fb82..10ef63e 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -28,7 +28,7 @@ use Smokeping::RRDtools;
# globale persistent variables for speedy
use vars qw($cfg $probes $VERSION $havegetaddrinfo $cgimode);
-$VERSION="2.000903";
+$VERSION="2.000904";
# we want opts everywhere
my %opt;
@@ -2458,7 +2458,7 @@ DOC
},
},
'/[^\s,]+/' => {
- _vars => [ qw(type pattern comment to edgetrigger mailtemplate) ],
+ _vars => [ qw(type pattern comment to edgetrigger mailtemplate priority) ],
_inherited => [ qw(edgetrigger mailtemplate) ],
_mandatory => [ qw(type pattern comment) ],
to => { _doc => 'Similar to the "to" parameter on the top-level except that it will only be used IN ADDITION to the value of the toplevel parameter. Same rules apply.',