voxpupuli / puppet-snmp

Puppet module to manage Net-SNMP.
https://forge.puppet.com/puppet/snmp
Apache License 2.0
35 stars 131 forks source link

# Other Configuration #215

Open bughatti opened 4 years ago

bughatti commented 4 years ago

When looking through the snmp config, there is a section at the bottom called #Other Configuration. I have looked through all the classes of the module and I can not find this section to edit. I am using puppet environment through foreman. Any help would be greatly appreciated.

ubellavance commented 4 years ago

Did you look this: https://github.com/voxpupuli/puppet-snmp/blob/master/templates/snmpd.conf.erb

Check the 2 variables: @snmpd_config and @openmanage_enable. That should help you.

bughatti commented 4 years ago

Thank you for the response, I did figure out it was @snmpd_config and was able to add updates. Curious, if I wanted to just put our whole config in an array under @snmpd_config and then negate all other classes, would that be ok to do, or not ideal at all? Also if I was to do that, would any other classes, even with them as empty array's, could the empty array's (configs only) interfere with the @snmpd_config array?