mod_munin: Allow names containing any number of “:”.
--- a/mod_munin/mod_munin.lua Thu Jun 21 22:38:56 2018 +0200
+++ b/mod_munin/mod_munin.lua Fri Jun 22 00:28:59 2018 +0200
@@ -89,7 +89,7 @@
-- module:log("debug", "changed_stats[%q] = %s", stat, tostring(value));
host, sect, name, typ = stat:match("^/([^/]+)/([^/]+)/(.+):(%a+)$");
if host == nil then
- sect, name, typ, host = stat:match("^([^.]+)%.([^:]+):(%a+)$");
+ sect, name, typ = stat:match("^([^.]+)%.(.+):(%a+)$");
elseif host == "*" then
host = nil;
end