sonic-buildimage/files/build_templates
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
..
per_namespace [multi_asic][vs]: Add dependency in teamd service to start after topology service(#6594) 2021-02-18 18:05:10 -08:00
arp_update_vars.j2 [swss] Enhance ARP Update to Call Sonic Cfggen Once (#5398) 2020-12-22 09:51:54 -08:00
buffers_config.j2 [buffers_config.j2]: Use correct cable lengths for backend devices (#5905) 2020-11-14 08:41:14 -08:00
config-setup.service.j2 [config-setup]: create a SONiC configuration management service (#3227) 2020-01-21 10:39:19 -08:00
database.service.j2 Multi-ASIC implementation (#3888) 2020-04-15 13:08:34 -07:00
dhcp_relay.service.j2 [services] Remove explicit dependencies from dhcp_relay service file, control in swss.sh (#3823) 2019-11-26 16:59:45 -08:00
docker_image_ctl.j2 Port fix for https://github.com/Azure/sonic-buildimage/pull/6537 in 201911 (#6648) 2021-02-26 17:16:33 -08:00
init_cfg.json.j2 Enhanced Feature table to support 'always_enabled' value for state and auto-restart fields. (#6000) 2020-11-25 10:04:42 -08:00
lldp.service.j2 Changes for LLDP docker to support multi-npu platforms (#4530) 2020-05-20 07:51:49 -07:00
mgmt-framework.service.j2 [services][mgmt-framework] delay mgmt-framework service on boot (#5226) 2020-09-04 21:22:12 +00:00
mgmt-framework.timer [services][mgmt-framework] delay mgmt-framework service on boot (#5226) 2020-09-04 21:22:12 +00:00
nat.service.j2 [services] remove swss from WantedBy for nat service (#4991) 2020-07-26 11:11:35 -07:00
organization_extensions.sh Framework to plugin Organization specific scripts during ONIE Image build (#951) 2017-09-19 16:23:31 -07:00
pmon.service.j2 [Services] Restart Platform-monitor service upon unexpected critical process exit. (#3689) 2019-11-04 17:44:01 -08:00
process-reboot-cause.timer [reboot cause]: Delay process-reboot-cause service until network connection is stable (#4003) 2020-01-21 10:47:13 -08:00
qos_config.j2 Make backend device checking more robust (#5730) 2020-11-14 08:39:08 -08:00
radv.service.j2 [services] improve startup time by changing startup order (#3656) 2019-10-31 09:18:26 -07:00
restapi.service.j2 Start RestAPI container when sonic boots (#4140) 2020-02-24 10:16:02 -08:00
sflow.service.j2 [services] sflow service sets swss service as Requisite=, not Requires= (#3819) 2020-01-02 14:29:11 -08:00
snmp.service.j2 [services] make snmp.timer work again and delay telemetry.service (#3742) 2020-01-06 10:32:24 -08:00
snmp.timer [build_templates]: Start SNMP timer after SWSS service (#6195) 2020-12-16 19:28:31 -08:00
sonic_debian_extension.j2 [201911][Monit] Monitor critical processes in radv and dhcp_relay containers. (#7340) 2021-04-16 08:40:06 -07:00
telemetry.service.j2 [services] make snmp.timer work again and delay telemetry.service (#3742) 2020-01-06 10:32:24 -08:00
telemetry.timer [services] make snmp.timer work again and delay telemetry.service (#3742) 2020-01-06 10:32:24 -08:00
updategraph.service.j2 [config-setup]: create a SONiC configuration management service (#3227) 2020-01-21 10:39:19 -08:00