From 9b84864b4dfd5eba0579646541211bb4694242aa Mon Sep 17 00:00:00 2001 From: Xav Paice Date: Mon, 10 Mar 2014 13:51:45 +1300 Subject: [PATCH] Add IPv6 support for gmond listener This commit adds the 'family' parameter for udp and tcp listeners for the gmond config, for Debian based systems. --- templates/gmond.conf.debian.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/gmond.conf.debian.erb b/templates/gmond.conf.debian.erb index c86e1b3..d5fcb60 100644 --- a/templates/gmond.conf.debian.erb +++ b/templates/gmond.conf.debian.erb @@ -63,6 +63,9 @@ udp_recv_channel { <%- if channel['bind'] then -%> bind = <%= channel['bind'] %> <%- end -%> + <%- if channel['family'] then -%> + family = <%= channel['family'] %> + <%- end -%> } <% end -%> @@ -75,6 +78,9 @@ tcp_accept_channel { <%- if channel['port'] then -%> port = <%= channel['port'] %> <%- end -%> + <%- if channel['family'] then -%> + family = <%= channel['family'] %> + <%- end -%> } <% end -%>