Skip to content

Commit f670f5f

Browse files
nazariigsanthosh-kt
authored andcommitted
[monit]: Fix process checker. (sonic-net#5480)
Signed-off-by: Nazarii Hnydyn <[email protected]>
1 parent ffc3a10 commit f670f5f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dockers/docker-fpm-frr/base_image_files/monit_bgp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ check program bgp|staticd with path "/usr/bin/process_checker bgp /usr/lib/frr/s
2323
check program bgp|bgpcfgd with path "/usr/bin/process_checker bgp /usr/bin/python /usr/local/bin/bgpcfgd"
2424
if status != 0 for 5 times within 5 cycles then alert
2525

26-
check program bgp|bgpmon with path "/usr/bin/process_checker bgp python /usr/local/bin/bgpmon"
26+
check program bgp|bgpmon with path "/usr/bin/process_checker bgp /usr/bin/python /usr/local/bin/bgpmon"
2727
if status != 0 for 5 times within 5 cycles then alert

dockers/docker-snmp/base_image_files/monit_snmp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
check program snmp|snmpd with path "/usr/bin/process_checker snmp /usr/sbin/snmpd"
88
if status != 0 for 5 times within 5 cycles then alert
99

10-
check program snmp|snmp_subagent with path "/usr/bin/process_checker snmp python3.6 -m sonic_ax_impl"
10+
check program snmp|snmp_subagent with path "/usr/bin/process_checker snmp python3 -m sonic_ax_impl"
1111
if status != 0 for 5 times within 5 cycles then alert

0 commit comments

Comments
 (0)