sonic-buildimage/dockers/docker-router-advertiser
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
..
base_image_files [201911][Monit] Monitor critical processes in radv and dhcp_relay containers. (#7340) 2021-04-16 08:40:06 -07:00
critical_processes [201911][dockers] Update critical_processes file syntax (#4854) 2020-06-26 11:37:05 -07:00
docker-init.sh [radv] Fix Script Name Change (#7254) 2021-04-08 09:56:31 -07:00
docker-router-advertiser.supervisord.conf.j2 [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
Dockerfile.j2 [docker-radv] Fix startup issues (#5230) 2020-09-04 21:20:08 +00:00
radvd.conf.j2 Generate interface table to have an entry designated to default VRF. (#2848) 2019-06-10 14:02:55 -07:00
wait_for_link.sh.j2 [docker-radv] Fix startup issues (#5230) 2020-09-04 21:20:08 +00:00