sonic-buildimage/dockers/docker-platform-monitor
yozhao101 a8d2d0b5cd
[201911][Monit] Monitor critical processes in PMon contianer. (#7438)
Signed-off-by: Yong Zhao yozhao@microsoft.com

Why I did it
This PR aims to monitor the critical processes in PMon container by Monit in 201911 branch.

How I did it
I created a template configuration file of Monit and it will be rendered to generate Monit configuration file of PMon container
by a service generate_monit_config.service.

How to verify it
I verified this on a Mellanox device str-msn2700-03 and an Arista device str-a7050-acs-1.

Which release branch to backport (provide reason below if selected)
 201811
[x ] 201911
 202006
 202012
2021-04-28 17:12:21 -07:00
..
base_image_files [201911][Monit] Monitor critical processes in PMon contianer. (#7438) 2021-04-28 17:12:21 -07:00
ssd_tools [submodule update] Add SSD Health tools (#3218) 2019-10-04 10:52:58 -07:00
critical_processes [201911][dockers] Update critical_processes file syntax (#4854) 2020-06-26 11:37:05 -07:00
docker_init.sh [docker-pmon] Fix copy of fancontrol config file (#5037) 2020-08-15 22:35:02 -07:00
docker-pmon.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-pmon]: use service dependency in supervisord to start services 2020-08-15 22:23:50 -07:00
lm-sensors.sh [sensors]: Workaround for apparent bug in lm-sensors (#1058) 2017-10-20 11:01:26 -07:00
start.sh [docker-pmon]: use service dependency in supervisord to start services 2020-08-15 22:23:50 -07:00