0fad6bdc7f
Why/How I did: Make sure first error syslog is triggered based on FAULT TOLERANCE condition. Added support of repeat clause with alert action. This is used as trigger for generation of periodic syslog error messages if error is persistent Updated the monit conf files with repeat every x cycles for the alert action
28 lines
1.3 KiB
Plaintext
28 lines
1.3 KiB
Plaintext
###############################################################################
|
|
## Monit configuration for BGP container
|
|
## process list:
|
|
## zebra
|
|
## fpmsyncd
|
|
## bgpd
|
|
## staticd
|
|
## bgpcfgd
|
|
## bgpmon
|
|
###############################################################################
|
|
check program bgp|zebra with path "/usr/bin/process_checker bgp /usr/lib/frr/zebra"
|
|
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles
|
|
|
|
check program bgp|fpmsyncd with path "/usr/bin/process_checker bgp fpmsyncd"
|
|
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles
|
|
|
|
check program bgp|bgpd with path "/usr/bin/process_checker bgp /usr/lib/frr/bgpd"
|
|
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles
|
|
|
|
check program bgp|staticd with path "/usr/bin/process_checker bgp /usr/lib/frr/staticd"
|
|
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles
|
|
|
|
check program bgp|bgpcfgd with path "/usr/bin/process_checker bgp /usr/bin/python /usr/local/bin/bgpcfgd"
|
|
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles
|
|
|
|
check program bgp|bgpmon with path "/usr/bin/process_checker bgp /usr/bin/python /usr/local/bin/bgpmon"
|
|
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles
|