Skip to content

Commit

Permalink
Add IPv6 support for gmond listener
Browse files Browse the repository at this point in the history
This commit adds the 'family' parameter for udp and tcp listeners
for the gmond config, for Debian based systems.
  • Loading branch information
Xav Paice committed Mar 10, 2014
1 parent 37252ad commit 9b84864
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/gmond.conf.debian.erb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ udp_recv_channel {
<%- if channel['bind'] then -%>
bind = <%= channel['bind'] %>
<%- end -%>
<%- if channel['family'] then -%>
family = <%= channel['family'] %>
<%- end -%>
}

<% end -%>
Expand All @@ -75,6 +78,9 @@ tcp_accept_channel {
<%- if channel['port'] then -%>
port = <%= channel['port'] %>
<%- end -%>
<%- if channel['family'] then -%>
family = <%= channel['family'] %>
<%- end -%>
}

<% end -%>
Expand Down

0 comments on commit 9b84864

Please sign in to comment.