Skip to content

Commit

Permalink
Add IPv6 capability for RHEL/CentOS
Browse files Browse the repository at this point in the history
For gmond.conf, add same capability as for Debian systems.
  • Loading branch information
Xav Paice committed Mar 11, 2014
1 parent 5dfc903 commit d88c383
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/gmond.conf.el5.erb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ udp_recv_channel {
<%- if channel['bind'] then -%>
bind = <%= channel['bind'] %>
<%- end -%>
<%- if channel['family'] then -%>
family = <%= channel['family'] %>
<%- end -%>
}

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

<% end -%>
Expand Down
6 changes: 6 additions & 0 deletions templates/gmond.conf.el6.erb
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ udp_recv_channel {
<%- if channel['bind'] then -%>
bind = <%= channel['bind'] %>
<%- end -%>
<%- if channel['family'] then -%>
family = <%= channel['family'] %>
<%- end -%>
}

<% end -%>
Expand All @@ -77,6 +80,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 d88c383

Please sign in to comment.