diff --git a/templates/gmond.conf.el5.erb b/templates/gmond.conf.el5.erb index 1abee3f..18bb123 100644 --- a/templates/gmond.conf.el5.erb +++ b/templates/gmond.conf.el5.erb @@ -62,6 +62,9 @@ udp_recv_channel { <%- if channel['bind'] then -%> bind = <%= channel['bind'] %> <%- end -%> + <%- if channel['family'] then -%> + family = <%= channel['family'] %> + <%- end -%> } <% end -%> @@ -74,6 +77,9 @@ tcp_accept_channel { <%- if channel['port'] then -%> port = <%= channel['port'] %> <%- end -%> + <%- if channel['family'] then -%> + family = <%= channel['family'] %> + <%- end -%> } <% end -%> diff --git a/templates/gmond.conf.el6.erb b/templates/gmond.conf.el6.erb index 9a6e2cf..f9fc76a 100644 --- a/templates/gmond.conf.el6.erb +++ b/templates/gmond.conf.el6.erb @@ -65,6 +65,9 @@ udp_recv_channel { <%- if channel['bind'] then -%> bind = <%= channel['bind'] %> <%- end -%> + <%- if channel['family'] then -%> + family = <%= channel['family'] %> + <%- end -%> } <% end -%> @@ -77,6 +80,9 @@ tcp_accept_channel { <%- if channel['port'] then -%> port = <%= channel['port'] %> <%- end -%> + <%- if channel['family'] then -%> + family = <%= channel['family'] %> + <%- end -%> } <% end -%>