mirror of
				https://github.com/Telecominfraproject/ols-nos.git
				synced 2025-10-31 01:57:48 +00:00 
			
		
		
		
	[monit]: Fix process checker. (#5480)
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
This commit is contained in:
		| @@ -23,5 +23,5 @@ check program bgp|staticd with path "/usr/bin/process_checker bgp /usr/lib/frr/s | |||||||
| check program bgp|bgpcfgd with path "/usr/bin/process_checker bgp /usr/bin/python /usr/local/bin/bgpcfgd" | check program bgp|bgpcfgd with path "/usr/bin/process_checker bgp /usr/bin/python /usr/local/bin/bgpcfgd" | ||||||
|     if status != 0 for 5 times within 5 cycles then alert |     if status != 0 for 5 times within 5 cycles then alert | ||||||
|  |  | ||||||
| check program bgp|bgpmon with path "/usr/bin/process_checker bgp python /usr/local/bin/bgpmon" | check program bgp|bgpmon with path "/usr/bin/process_checker bgp /usr/bin/python /usr/local/bin/bgpmon" | ||||||
|     if status != 0 for 5 times within 5 cycles then alert |     if status != 0 for 5 times within 5 cycles then alert | ||||||
|   | |||||||
| @@ -7,5 +7,5 @@ | |||||||
| check program snmp|snmpd with path "/usr/bin/process_checker snmp /usr/sbin/snmpd" | check program snmp|snmpd with path "/usr/bin/process_checker snmp /usr/sbin/snmpd" | ||||||
|     if status != 0 for 5 times within 5 cycles then alert |     if status != 0 for 5 times within 5 cycles then alert | ||||||
|  |  | ||||||
| check program snmp|snmp_subagent with path "/usr/bin/process_checker snmp python3.6 -m sonic_ax_impl" | check program snmp|snmp_subagent with path "/usr/bin/process_checker snmp python3 -m sonic_ax_impl" | ||||||
|     if status != 0 for 5 times within 5 cycles then alert |     if status != 0 for 5 times within 5 cycles then alert | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Nazarii Hnydyn
					Nazarii Hnydyn