Initial version of snmp module.
This commit is contained in:
parent
7bd26f33d3
commit
4ee0691e63
3 changed files with 88 additions and 0 deletions
9
snmp/templates/snmptrapd.conf.erb
Normal file
9
snmp/templates/snmptrapd.conf.erb
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
pidFile /var/run/snmptrapd.pid
|
||||
<% if acl == 'NONE' -%>
|
||||
disableAuthorization yes
|
||||
<% else -%>
|
||||
<% acl.each do |rule| -%>
|
||||
authCommunity log <%= rule %>
|
||||
<% end -%>
|
||||
<% end -%>
|
Loading…
Add table
Add a link
Reference in a new issue