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?