sonic-buildimage/dockers
SuvarnaMeenakshi d2ee7a5bef [docker-snmp]: Modify log level of snmpd (#9734)
#### Why I did it
resolves https://github.com/Azure/sonic-buildimage/issues/8779
snmpd writes the below error message in syslog :
snmp#snmpd[27]: truncating integer value > 32 bits
This message is written in syslog when the hrSystemUptime(1.3.6.1.2.1.25.1.1.0 / system uptime) or sysUpTime(1.3.6.1.2.1.1.3 network management portion or snmpd uptime) is queried when either of these counters overflow beyond 32 bit value. This happens the device uptime or snmpd uptime is more than 497 days.

#### How I did it
Reference: https://access.redhat.com/solutions/367093 and https://linux.die.net/man/1/snmpcmd

To avoid seeing this message if the counter grows, the snmpd error log level is changed to display  LOG_EMERG, LOG_ALERT, LOG_CRIT, and LOG_DEBUG.

Without this change, LOG_ERR and LOG_WARNING would also be logged in syslog.

#### How to verify it
On a device which is up for more than 497 days, modify supervisord.conf  with the change and restart snmp.
Query 1.3.6.1.2.1.1.3 and verify that log message is not seen.
2022-01-14 23:01:19 +00:00
..
docker-base Support to build armhf/arm64 platforms on arm based system (#7731) (#8458) 2021-08-13 19:33:08 +08:00
docker-base-buster Support to build armhf/arm64 platforms on arm based system (#7731) (#8458) 2021-08-13 19:33:08 +08:00
docker-base-stretch Support to build armhf/arm64 platforms on arm based system (#7731) (#8458) 2021-08-13 19:33:08 +08:00
docker-basic_router [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
docker-config-engine [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-config-engine-buster [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-config-engine-stretch [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-database [202012][Monit] Deprecate the feature of monitoring the critical processes by Monit (#7823) 2021-06-09 09:04:22 -07:00
docker-dhcp-relay docker-dhcp-relay: Fix waiting for interfaces to get set up (#9034) 2021-10-22 17:14:22 +00:00
docker-fpm-frr Reduce route selection deferral timer for bgp graceful restart (#7533) 2021-12-20 19:24:58 +00:00
docker-fpm-gobgp [202012][dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7203) 2021-04-01 12:52:19 -07:00
docker-fpm-quagga Support readonly vtysh for sudoers (#7383) 2021-04-29 10:08:55 -07:00
docker-iccpd [iccpd][docker] fix initial startup configuration (#7982) 2021-08-05 15:21:33 +00:00
docker-lldp [202012][Monit] Deprecate the feature of monitoring the critical processes by Monit (#7823) 2021-06-09 09:04:22 -07:00
docker-mux [mux]: Call write_standby from host only 2021-11-10 18:54:33 -08:00
docker-nat [202012][dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7203) 2021-04-01 12:52:19 -07:00
docker-orchagent [swss]: Listen for undeliverable tunnel packets (#9348) 2021-12-16 11:59:34 -08:00
docker-platform-monitor [Pcied] run by python 3 2021-08-23 03:34:48 +00:00
docker-ptf PTF adds unittest-xml-reporting (#8417) 2021-08-12 07:09:58 +00:00
docker-router-advertiser [radv] Run radv on MgmtToRRouter (#9424) 2021-12-06 21:32:33 +00:00
docker-sflow [202012][Monit] Deprecate the feature of monitoring the critical processes by Monit (#7823) 2021-06-09 09:04:22 -07:00
docker-snmp [docker-snmp]: Modify log level of snmpd (#9734) 2022-01-14 23:01:19 +00:00
docker-sonic-mgmt [build]: Fix sonic-cfggen contextlib err (#7996) 2021-06-28 17:18:45 -07:00
docker-sonic-mgmt-framework [mgmt-framework]: Fix typo in mgmt_vars.j2 (#8475) 2021-08-25 04:11:16 +00:00
docker-sonic-restapi autorestart inside restapi docker is disabled (#8006) 2021-07-27 05:14:28 +00:00
docker-sonic-telemetry [202012][Monit] Deprecate the feature of monitoring the critical processes by Monit (#7823) 2021-06-09 09:04:22 -07:00
docker-teamd [docker-teamd]: Increase teammgrd timeout to allow graceful shutdown. (#7662) (#7842) 2021-06-10 12:49:18 -07:00
dockerfile-macros.j2 [sonic-config-engine] Clean up dependencies, pin versions; install Python 3 package in Buster container (#5656) 2020-10-26 13:48:50 -07:00