13cec4c486
We want to let Monit to unmonitor the processes in containers which are disabled in `FEATURE` table such that Monit will not generate false alerting messages into the syslog. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
16 lines
704 B
Plaintext
16 lines
704 B
Plaintext
###############################################################################
|
|
## Monit configuration for lldp container
|
|
## process list:
|
|
## lldpd
|
|
## lldp-syncd
|
|
## lldpmgrd
|
|
###############################################################################
|
|
check program lldp|lldpd_monitor with path "/usr/bin/process_checker lldp lldpd:"
|
|
if status != 0 for 5 times within 5 cycles then alert
|
|
|
|
check program lldp|lldp_syncd with path "/usr/bin/process_checker lldp python2 -m lldp_syncd"
|
|
if status != 0 for 5 times within 5 cycles then alert
|
|
|
|
check program lldp|lldpmgrd with path "/usr/bin/process_checker lldp python /usr/bin/lldpmgrd"
|
|
if status != 0 for 5 times within 5 cycles then alert
|