Skip to content

Commit

Permalink
Added bgpmon to be monitored by Monit so that if it crashed, it gets …
Browse files Browse the repository at this point in the history
…alerted
  • Loading branch information
gechiang committed Sep 15, 2020
1 parent 61b8ce4 commit 9c8c09a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dockers/docker-fpm-frr/base_image_files/monit_bgp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
## bgpd
## staticd
## bgpcfgd
## bgpmon
###############################################################################
check process zebra matching "/usr/lib/frr/zebra"
if does not exist for 5 times within 5 cycles then alert
Expand All @@ -21,3 +22,6 @@ check process staticd matching "/usr/lib/frr/staticd"

check process bgpcfgd matching "python /usr/local/bin/bgpcfgd"
if does not exist for 5 times within 5 cycles then alert

check process bgpmon matching "python2 /usr/bin/bgpmon.py"
if does not exist for 5 times within 5 cycles then alert

0 comments on commit 9c8c09a

Please sign in to comment.