[Monit] Change the full process name of syncd in the monit config file. (#4033)
Since the syncd process running on different platforms will have the different full path names, we change the full path name of process syncd in the monit config file such that it will be universal and is not for a specific vendor. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
This commit is contained in:
parent
2e43e6bc6c
commit
ac01c22dbd
@ -3,5 +3,5 @@
|
||||
## process list:
|
||||
## syncd
|
||||
###############################################################################
|
||||
check process syncd matching "/usr/bin/syncd --diag"
|
||||
check process syncd matching "/usr/bin/syncd"
|
||||
if does not exist for 5 times within 5 cycles then alert
|
||||
|
@ -4,7 +4,7 @@
|
||||
## syncd
|
||||
## dsserve
|
||||
###############################################################################
|
||||
check process syncd matching "/usr/bin/syncd --diag"
|
||||
check process syncd matching "/usr/bin/syncd"
|
||||
if does not exist for 5 times within 5 cycles then alert
|
||||
|
||||
check process dsserve matching "/usr/bin/dsserve /usr/bin/syncd"
|
||||
|
@ -3,5 +3,5 @@
|
||||
## process list:
|
||||
## syncd
|
||||
###############################################################################
|
||||
check process syncd matching "/usr/bin/syncd --diag"
|
||||
check process syncd matching "/usr/bin/syncd"
|
||||
if does not exist for 5 times within 5 cycles then alert
|
||||
|
@ -3,5 +3,5 @@
|
||||
## process list:
|
||||
## syncd
|
||||
###############################################################################
|
||||
check process syncd matching "/usr/bin/syncd --diag"
|
||||
check process syncd matching "/usr/bin/syncd"
|
||||
if does not exist for 5 times within 5 cycles then alert
|
||||
|
@ -3,5 +3,5 @@
|
||||
## process list:
|
||||
## syncd
|
||||
###############################################################################
|
||||
check process syncd matching "/usr/bin/syncd --diag"
|
||||
check process syncd matching "/usr/bin/syncd"
|
||||
if does not exist for 5 times within 5 cycles then alert
|
||||
|
@ -3,5 +3,5 @@
|
||||
## process list:
|
||||
## syncd
|
||||
###############################################################################
|
||||
check process syncd matching "/usr/bin/syncd --diag"
|
||||
check process syncd matching "/usr/bin/syncd"
|
||||
if does not exist for 5 times within 5 cycles then alert
|
||||
|
@ -3,5 +3,5 @@
|
||||
## process list:
|
||||
## syncd
|
||||
###############################################################################
|
||||
check process syncd matching "/usr/bin/syncd --diag"
|
||||
check process syncd matching "/usr/bin/syncd"
|
||||
if does not exist for 5 times within 5 cycles then alert
|
||||
|
@ -3,5 +3,5 @@
|
||||
## process list:
|
||||
## syncd
|
||||
###############################################################################
|
||||
check process syncd matching "/usr/bin/syncd --diag"
|
||||
check process syncd matching "/usr/bin/syncd"
|
||||
if does not exist for 5 times within 5 cycles then alert
|
||||
|
@ -4,7 +4,7 @@
|
||||
## syncd
|
||||
## dsserve
|
||||
###############################################################################
|
||||
check process syncd matching "/usr/bin/syncd --diag"
|
||||
check process syncd matching "/usr/bin/syncd"
|
||||
if does not exist for 5 times within 5 cycles then alert
|
||||
|
||||
check process dsserve matching "/usr/bin/dsserve /usr/bin/syncd"
|
||||
|
Loading…
Reference in New Issue
Block a user