5d5d5739c2
The `-sv2` suffix was used to differentiate SNMP Dockers when we transitioned from "SONiCv1" to "SONiCv2", about four years ago. The old Docker materials were removed long ago; there is no need to keep this suffix. Removing it aligns the name with all the other Dockers. Also edit Monit configuration to detect proper snmp-subagent command line in Buster, and make snmpd command line matching more robust.
12 lines
484 B
Plaintext
12 lines
484 B
Plaintext
###############################################################################
|
|
## Monit configuration for snmp container
|
|
## process list:
|
|
## snmpd
|
|
## snmpd_subagent
|
|
###############################################################################
|
|
check process snmpd matching "/usr/sbin/snmpd\s"
|
|
if does not exist for 5 times within 5 cycles then alert
|
|
|
|
check process snmp_subagent matching "python3 -m sonic_ax_impl"
|
|
if does not exist for 5 times within 5 cycles then alert
|