Skip to content

Commit

Permalink
Change monit config for FRR.
Browse files Browse the repository at this point in the history
Add watchfrr and remove staticd and bgpcfg processes

Add node_exporter for telemetry monit config

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>

RB=2120192
G=lnos-reviewers
R=pchaudhary,pmao,vapatil,samaity,zxu
A=
  • Loading branch information
zhenggen-xu committed May 30, 2020
1 parent 071c9b3 commit cabf021
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 4 additions & 8 deletions dockers/docker-fpm-frr/base_image_files/monit_bgp
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
###############################################################################
## Monit configuration for BGP container
## process list:
## watchfrr
## zebra
## fpmsyncd
## bgpd
## staticd
## bgpcfgd
###############################################################################
check process watchfrr matching "/usr/lib/frr/watchfrr"
if does not exist for 5 times within 5 cycles then alert

check process zebra matching "/usr/lib/frr/zebra"
if does not exist for 5 times within 5 cycles then alert

Expand All @@ -15,9 +17,3 @@ check process fpmsyncd matching "fpmsyncd"

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/bin/bgpcfgd"
if does not exist for 5 times within 5 cycles then alert
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
## process list:
## telemetry
## dialout_client
## node_exporter
###############################################################################
check process telemetry matching "/usr/sbin/telemetry -logtostderr --insecure"
if does not exist for 5 times within 5 cycles then alert

check process dialout_client matching "/usr/sbin/dialout_client_cli -insecure -logtostderr"
if does not exist for 5 times within 5 cycles then alert

check process node_exporter matching "/usr/sbin/node_exporter"
if does not exist for 5 times within 5 cycles then alert

0 comments on commit cabf021

Please sign in to comment.