sonic-buildimage/dockers/docker-fpm-frr/base_image_files/monit_bgp
2020-07-05 15:51:05 -07:00

24 lines
841 B
Plaintext

###############################################################################
## Monit configuration for BGP container
## process list:
## zebra
## fpmsyncd
## bgpd
## staticd
## bgpcfgd
###############################################################################
check process zebra matching "/usr/lib/frr/zebra"
if does not exist for 5 times within 5 cycles then alert
check process fpmsyncd matching "fpmsyncd"
if does not exist for 5 times within 5 cycles then alert
check process bgpd matching "/usr/lib/frr/bgpd"
if does not exist for 5 times within 5 cycles then alert
check process staticd matching "/usr/lib/frr/staticd"
if does not exist for 5 times within 5 cycles then alert
check process bgpcfgd matching "python /usr/local/bin/bgpcfgd"
if does not exist for 5 times within 5 cycles then alert