sonic-buildimage/files/image_config/monit
yozhao101 2737c9681f
[container_checker] Exclude the 'always_disabled' container from expected running container list (#7217)
Signed-off-by: Yong Zhao yozhao@microsoft.com

Why I did it
Since we introduced a new value always_disabled for the state field in FEATURE table, the expected running container list
should exclude the always_diabled containers. This bug was found by nightly test and posted at here: issue. This PR fixes #7210.

How I did it
I added a logic condition to decide whether the value of state field of a container was always_disabled or not.

How to verify it
I verified this on the device str-dx010-acs-1.

Which release branch to backport (provide reason below if selected)
 201811
 201911
 202006
[ x] 202012
2021-04-02 08:05:46 -07:00
..
conf.d [Monit] Monitoring the running status of containers. (#6251) 2021-01-07 19:52:22 -08:00
container_checker [container_checker] Exclude the 'always_disabled' container from expected running container list (#7217) 2021-04-02 08:05:46 -07:00
monitrc [Monit] Delay start of monitoring for 5 minutes (#4281) 2020-03-19 14:14:47 -07:00
process_checker [multi-asic] Enhancing monit process checker for multi-asic. (#6100) 2020-12-04 10:39:43 -08:00