Skip to content

Commit

Permalink
[Monit] Change the full process name of syncd in the monit config fil…
Browse files Browse the repository at this point in the history
…e. (sonic-net#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>
  • Loading branch information
yozhao101 authored and pphuchar committed Mar 9, 2020
1 parent cba2ac7 commit 027f448
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 027f448

Please sign in to comment.