X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/xvm-munin-config.git/blobdiff_plain/75ea3dcbd8ad5baa6fc2cf734666a2ab3ba3cd55..eb85a5cccdedbdac1626529be18bd883fa03d41e:/debian/transform_munin-node.conf.xvm.mako?ds=sidebyside diff --git a/debian/transform_munin-node.conf.xvm.mako b/debian/transform_munin-node.conf.xvm.mako index 2572e76..af362d2 100755 --- a/debian/transform_munin-node.conf.xvm.mako +++ b/debian/transform_munin-node.conf.xvm.mako @@ -19,8 +19,9 @@ print unless /^$/; END { print <<'EOF'; -% for host in cfg.monitoring: +% for host in cfg.get('monitoring', []): allow ^${host.ip.replace('.', '\.')}$ +allow ^::ffff:${host.ip.replace('.', '\.')}$ % endfor EOF }