[201811 Monit] Enable monitoring of SWSS daemons (#5144)
Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
This commit is contained in:
parent
5d891d8832
commit
e1e97199e3
@ -10,7 +10,6 @@
|
|||||||
## portmgrd
|
## portmgrd
|
||||||
## buffermgrd
|
## buffermgrd
|
||||||
## nbrmgrd
|
## nbrmgrd
|
||||||
## vxlanmgrd
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
check process orchagent matching "/usr/bin/orchagent -d /var/log/swss"
|
check process orchagent matching "/usr/bin/orchagent -d /var/log/swss"
|
||||||
if does not exist for 5 times within 5 cycles then alert
|
if does not exist for 5 times within 5 cycles then alert
|
||||||
@ -39,5 +38,3 @@ check process buffermgrd matching "/usr/bin/buffermgrd -l"
|
|||||||
check process nbrmgrd matching "/usr/bin/nbrmgrd"
|
check process nbrmgrd matching "/usr/bin/nbrmgrd"
|
||||||
if does not exist for 5 times within 5 cycles then alert
|
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
|
|
||||||
|
@ -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)_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 += 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)
|
$(DOCKER_ORCHAGENT_BASE)_FILES += $(ARP_UPDATE_SCRIPT) $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|
||||||
|
Reference in New Issue
Block a user