config/puppet-manifests/src/modules/platform/templates/snmpd.conf.erb

34 lines
1.0 KiB
Plaintext

###########################################################################
#
# snmpd.conf
#
# - This file is managed by Puppet. DO NOT EDIT.
#
###########################################################################
# incl/excl subtree mask
view all included .1 80
sysDescr <%= @software_version %> <%= @system_info %>
sysObjectID 1.3.6.1.4.1.731.3
sysContact <%= @system_contact %>
sysName <%= @system_name %>
sysLocation <%= @system_location %>
sysServices 72
[snmp] clientaddr oamcontroller
dlmod cgtsAgentPlugin /usr/lib64/libcgtsAgentPlugin.so.1
dlmod snmpAuditPlugin /usr/lib64/libsnmpAuditPlugin.so.1
# Insert the snmpAudit hander into specific sections of the mib tree
injectHandler snmpAudit null
injectHandler snmpAudit bulk_to_next
<%- @community_strings.each do |community| -%>
rocommunity <%= community %>
rocommunity6 <%= community %>
<%- end -%>
<%- @trap_destinations.each do |destination| -%>
trap2sink <%= destination %>
<%- end -%>