Description of problem: IHAC who want to configure the snmp agent using the existing heat templates instead of configuring it manually for their RHOSP10 environment. They have checked the following Red Hat document for snmp reference: ~~~ https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sect-System_Monitoring_Tools-Net-SNMP.html ~~~ In addition to the default configurations of snmp.yaml in heat templates they also want to add proc and ro_community like the following; ~~~ rocommunity public 127.0.0.1 rocommunity public 192.168.2.107 rocommunity6 public ::1 proc neutron-server proc nova-api. ~~~ As per the below reference, the "snmpd_config" is a list variable. We asked them to update as below and check again: >> https://github.com/razorsedge/puppet-snmp/blob/3.6.0/manifests/init.pp#L106 ~~~ parameter_defaults: ExtraConfig: snmp::ro_community: public snmp::ro_community6: public snmp::ro_network: - 127.0.0.1 - 192.168.1.1 snmp::ro_network6: - ::1 snmp::snmpd_config: ['proc neutron-server', 'proc nova-api'] ~~~ But above is not working. We came to the conclusion that as of now there is no way to provision more proc configuration items because the parameters set via snmpd_config is explicitly mentioned in tripleo, Currently there is no way to customize it. Please have a look at below link: ~~~ https://github.com/openstack/puppet-tripleo/blob/master/manifests/profile/base/snmp.pp#L45-L54 ~~~ Can we have this RFE in RHOSP10? The customer is looking for this feature to be available. For them, it is blocking their production stack update. Any pointers/suggestions?
I'm working on it now
Patch submitted on master (Queens): https://review.openstack.org/#/c/509000/ It will follow the classic backport process.
*** Bug 1498979 has been marked as a duplicate of this bug. ***
Hi Emilien, Have cloned this BZ to a docs bug. We've got ro_community and ro_community6 documented already: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/10/html/advanced_overcloud_customization/sect-security_enhancements#changing_the_simple_network_management_protocol_snmp_community_string We just need to document the other snmp params.
According to our records, this should be resolved by puppet-tripleo-5.6.4-3.el7ost. This build is available now.
Verified on puddle 2018-05-09.2 [stack@undercloud-0 ~]$ rpm -q puppet-tripleo puppet-tripleo-5.6.8-3.el7ost.noarch