sonic-buildimage/dockers/docker-snmp
Travis Van Duyn d769ef2abd
[snmp]: updated to support snmp config from redis configdb (#6134)
**- Why I did it**
I'm updating the jinja2 template to support getting SNMP information from the redis configdb. 
I'm using the format approved here: 
https://github.com/Azure/SONiC/pull/718

This will pave the way for us to decrement using the snmp.yml in the future.  
Right now we will still be using both the snmp.yml and configdb to get variable information in order to create the snmpd.conf via the sonic-cfggen tool. 

**- How I did it**
I first updated the SNMP Schema in PR #718 to get that approved as a standardized format. 
Then I verified I could add snmp configs to the configdb using this standard schema.  Once the configs were added to the configdb then I updated the snmpd.conf.j2 file to support the updates via the configdb while still using the variables in the snmp.yml file in parallel.  This way we will have backward compatibility until we can fully migrate to the configdb only. 

By updating the snmpd.conf.j2 template and running the sonic-cfggen tool the snmpd.conf gets generated with using the values in both the configdb and snmp.yml file. 

Co-authored-by: trvanduy <trvanduy@microsoft.com>
2021-01-05 13:43:29 -08:00
..
base_image_files [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-10-31 17:29:49 -07:00
critical_processes [dockers] Update critical_processes file syntax (#4831) 2020-06-25 21:18:21 -07:00
Dockerfile.j2 Convert snmp.yml to configdb (#6205) 2020-12-28 11:51:58 -08:00
snmp_yml_to_configdb.py Convert snmp.yml to configdb (#6205) 2020-12-28 11:51:58 -08:00
snmpd.conf.j2 [snmp]: updated to support snmp config from redis configdb (#6134) 2021-01-05 13:43:29 -08:00
start.sh [snmp]: updated to support snmp config from redis configdb (#6134) 2021-01-05 13:43:29 -08:00
supervisord.conf [supervisor] Install vanilla package once again, install Python 3 version in Buster container (#5546) 2020-11-19 23:41:32 -08:00
sysDescription.j2 [dockers] Rename 'docker-snmp-sv2' to 'docker-snmp' (#4699) 2020-06-11 16:04:23 -07:00