sonic-buildimage/dockers
yozhao101 528543bc6a
[201911][Monit] Monitor critical processes in radv and dhcp_relay containers. (#7340)
Signed-off-by: Yong Zhao yozhao@microsoft.com

Why I did it
This PR aims to monitor critical processes in router advertiser and dhcp_relay containers by Monit.

How I did it
Router advertiser container only ran on T0 device and the T0 device should have at least one VLAN interface
which was configured an IPv6 address. At the same time, router advertiser container will not run on devices of which
the deployment type is 8.

As such, I created a service which will dynamically generate Monit configuration file of router advertiser from a
template.

Similarly Monit configuration file of dhcp_relay was also generated from a template since the number of dhcrelay process in dhcp_relay container is depended on number of VLANs.

How to verify it
I verified this implementation on a DuT.
2021-04-16 08:40:06 -07:00
..
docker-base Enable the notify mode of rsyslogd imfile module used for supervisord (#6298) 2020-12-31 17:04:00 -08:00
docker-base-stretch Updated imfile configuration for supervisord logs (#6368) 2021-01-06 18:48:24 -08:00
docker-basic_router Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
docker-config-engine Remove unused packages in docker images and host (#2807) 2019-04-29 17:21:24 -07:00
docker-config-engine-stretch [build]: Improve dockerfile instructions (#3048) 2019-06-22 11:26:23 -07:00
docker-database [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-dhcp-relay [201911][Monit] Monitor critical processes in radv and dhcp_relay containers. (#7340) 2021-04-16 08:40:06 -07:00
docker-fpm-frr Fixes for errors seen in staging devices (#7171) 2021-04-08 15:30:46 -07:00
docker-fpm-gobgp [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-fpm-quagga [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-lldp-sv2 [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-nat [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-orchagent [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-platform-monitor [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-ptf [docker-ptf]: Add teamd dependency to ptf (#6994) 2021-03-10 10:50:17 -08:00
docker-ptf-saithrift [docker-ptf-*]: Use buildimage infrastructure to build docker-ptf-* (#638) 2017-05-26 17:18:11 -07:00
docker-router-advertiser [201911][Monit] Monitor critical processes in radv and dhcp_relay containers. (#7340) 2021-04-16 08:40:06 -07:00
docker-sflow [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-snmp-sv2 [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-sonic-mgmt [mgmt docker] move pycryptodome installation to the end of the docker building (#4917) 2020-07-11 09:46:51 -07:00
docker-sonic-mgmt-framework [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-sonic-restapi [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-sonic-telemetry [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-teamd [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
dockerfile-macros.j2 [build]: Improve dockerfile instructions (#3048) 2019-06-22 11:26:23 -07:00