diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-10-15 09:49:18 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-10-15 09:49:18 +0200 |
commit | 15ce7b9d28dda1afb6b892c1e2a34e057f3fdb60 (patch) | |
tree | 0226ecb3ea1595463dad24204ac65f9885c4d63b /lib/Smokeping.pm | |
parent | 03d504e82b3e6c77c0b59af415ff740de1b483f3 (diff) | |
download | smokeping-15ce7b9d28dda1afb6b892c1e2a34e057f3fdb60.tar.gz smokeping-15ce7b9d28dda1afb6b892c1e2a34e057f3fdb60.tar.xz |
* fixed parsing of slaves statements in config file, broeken since I seemingly relaxed the hostname constraints.
* removed all online testing from Curl and EchoPing probes
Diffstat (limited to 'lib/Smokeping.pm')
-rw-r--r-- | lib/Smokeping.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index a5f231c..818de9f 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -1956,7 +1956,7 @@ DOC If you want to have alerts for this target and all targets below it go to a particular address on top of the address already specified in the alert, you can add it here. This can be a comma separated list of items. DOC - slaves => { _re => "${KEYD_RE}(:?\\s+${KEYD_RE})*", + slaves => { _re => "${KEYD_RE}(?:\\s+${KEYD_RE})*", _re_error => 'Use the format: slaves='.${KEYD_RE}.' [slave2]', _doc => <<DOC }, The slave names must match the slaves you have setup in the slaves section. |