sonic-buildimage/dockers/docker-platform-monitor
Kebo Liu e12d2e8bee
[PMON] Extend pmon daemon start control to lm-sensors and fancontrol for 201911 (#4487)
Extend the PMON daemon start control to lm-sensors and fancontrol.

change template docker-pmon.supervisord.conf.j2 and start.sh.j2 to have lm-sensors and fancontrol start scripts and supervisord config file controlled by pmon_daemon_control.json.

the intention is to avoid wrong daemon status in "supervisorctl status" output. For example, on some platform, if there is no fancontrol config file, and it is not ruled out from supervisord conf file and start.sh, we'll see fancontrol in "STOPPED" status from "supervisorctl status" output, which will violate some check in the platform test(check daemon status as expected)
2020-04-28 18:39:10 -07:00
..
base_image_files [submodule update] Add SSD Health tools (#3218) 2019-10-04 10:52:58 -07:00
ssd_tools [submodule update] Add SSD Health tools (#3218) 2019-10-04 10:52:58 -07:00
critical_processes [fancontrol] Restart process upon unexpected exit, not entire pmon container (#4101) 2020-04-27 06:23:19 +00:00
docker_init.sh [Pmon] dynamically load pmon daemons (#2654) 2019-03-22 02:49:35 -07:00
docker-pmon.supervisord.conf.j2 [PMON] Extend pmon daemon start control to lm-sensors and fancontrol for 201911 (#4487) 2020-04-28 18:39:10 -07:00
Dockerfile.j2 [Mellanox] Extend mellanox platform API to report SFP error event (#4365) 2020-04-15 13:11:59 -07:00
lm-sensors.sh [sensors]: Workaround for apparent bug in lm-sensors (#1058) 2017-10-20 11:01:26 -07:00
start.sh.j2 [PMON] Extend pmon daemon start control to lm-sensors and fancontrol for 201911 (#4487) 2020-04-28 18:39:10 -07:00