Added mapped IPv4 address
[invirt/packages/xvm-munin-config.git] / templatize-munin-config
index a6955df..72ccf45 100755 (executable)
@@ -21,6 +21,7 @@ END {
   print <<'EOF';
 % for host in cfg.get('monitoring', []):
 allow ^${host.ip.replace('.', '\.')}$
   print <<'EOF';
 % for host in cfg.get('monitoring', []):
 allow ^${host.ip.replace('.', '\.')}$
+allow allow ^::ffff:${host.ip.replace('.', '\.')}$
 % endfor
 EOF
 }
 % endfor
 EOF
 }