###############################################################################
## Monit configuration for BGP container
## process list:
## zebra
## fpmsyncd
## bgpd
## staticd
## bgpcfgd
## bgpmon
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"
check process bgpd matching "/usr/lib/frr/bgpd"
check process staticd matching "/usr/lib/frr/staticd"
check process bgpcfgd matching "python /usr/local/bin/bgpcfgd"
check process bgpmon matching "python /usr/local/bin/bgpmon"