Skip to content

Commit

Permalink
[201811 Monit] Enable monitoring of SWSS daemons (#5144)
Browse files Browse the repository at this point in the history
Signed-off-by: Zhenggen Xu <[email protected]>
  • Loading branch information
zhenggen-xu authored Aug 14, 2020
1 parent 5d891d8 commit e1e9719
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions dockers/docker-orchagent/base_image_files/monit_swss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
## portmgrd
## buffermgrd
## nbrmgrd
## vxlanmgrd
###############################################################################
check process orchagent matching "/usr/bin/orchagent -d /var/log/swss"
if does not exist for 5 times within 5 cycles then alert
Expand Down Expand Up @@ -39,5 +38,3 @@ check process buffermgrd matching "/usr/bin/buffermgrd -l"
check process nbrmgrd matching "/usr/bin/nbrmgrd"
if does not exist for 5 times within 5 cycles then alert

check process vxlanmgrd matching "/usr/bin/vxlanmgrd"
if does not exist for 5 times within 5 cycles then alert
1 change: 1 addition & 0 deletions platform/template/docker-orchagent-base.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ $(DOCKER_ORCHAGENT_BASE)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
$(DOCKER_ORCHAGENT_BASE)_RUN_OPT += -v /var/log/swss:/var/log/swss:rw

$(DOCKER_ORCHAGENT_BASE)_BASE_IMAGE_FILES += swssloglevel:/usr/bin/swssloglevel
$(DOCKER_ORCHAGENT_BASE)_BASE_IMAGE_FILES += monit_swss:/etc/monit/conf.d
$(DOCKER_ORCHAGENT_BASE)_FILES += $(ARP_UPDATE_SCRIPT) $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)

0 comments on commit e1e9719

Please sign in to comment.