mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 02:33:18 +00:00
Plugin amr: fix regex issue
An unescpaed left brace is rejected by recent versions of perl.
This commit is contained in:
parent
9695f9d635
commit
fe379b6f05
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ sub parse
|
|||
|
||||
while (<$log>) {
|
||||
# \d protects us against HTML injection here, be careful when changing
|
||||
if (m,SCM:{ID:(\d+) +.* +Consumption: +(\d+) +,) {
|
||||
if (m,SCM:\{ID:(\d+) +.* +Consumption: +(\d+) +,) {
|
||||
$stations{$1} = $2;
|
||||
$signals{$1}++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue