[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
5057ac3122
commit
db7668638a
@ -3,5 +3,5 @@
|
|||||||
## process list:
|
## process list:
|
||||||
## syncd
|
## 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
|
if does not exist for 5 times within 5 cycles then alert
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## syncd
|
## syncd
|
||||||
## dsserve
|
## 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
|
if does not exist for 5 times within 5 cycles then alert
|
||||||
|
|
||||||
check process dsserve matching "/usr/bin/dsserve /usr/bin/syncd"
|
check process dsserve matching "/usr/bin/dsserve /usr/bin/syncd"
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
## process list:
|
## process list:
|
||||||
## syncd
|
## 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
|
if does not exist for 5 times within 5 cycles then alert
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
## process list:
|
## process list:
|
||||||
## syncd
|
## 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
|
if does not exist for 5 times within 5 cycles then alert
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
## process list:
|
## process list:
|
||||||
## syncd
|
## 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
|
if does not exist for 5 times within 5 cycles then alert
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
## process list:
|
## process list:
|
||||||
## syncd
|
## 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
|
if does not exist for 5 times within 5 cycles then alert
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
## process list:
|
## process list:
|
||||||
## syncd
|
## 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
|
if does not exist for 5 times within 5 cycles then alert
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
## process list:
|
## process list:
|
||||||
## syncd
|
## 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
|
if does not exist for 5 times within 5 cycles then alert
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## syncd
|
## syncd
|
||||||
## dsserve
|
## 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
|
if does not exist for 5 times within 5 cycles then alert
|
||||||
|
|
||||||
check process dsserve matching "/usr/bin/dsserve /usr/bin/syncd"
|
check process dsserve matching "/usr/bin/dsserve /usr/bin/syncd"
|
||||||
|
Loading…
Reference in New Issue
Block a user