0fad6bdc7f
Why/How I did: Make sure first error syslog is triggered based on FAULT TOLERANCE condition. Added support of repeat clause with alert action. This is used as trigger for generation of periodic syslog error messages if error is persistent Updated the monit conf files with repeat every x cycles for the alert action
12 lines
594 B
Plaintext
12 lines
594 B
Plaintext
###############################################################################
|
|
## Monit configuration for snmp container
|
|
## process list:
|
|
## snmpd
|
|
## snmpd_subagent
|
|
###############################################################################
|
|
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 repeat every 1 cycles
|
|
|
|
check program snmp|snmp_subagent with path "/usr/bin/process_checker snmp python3.6 -m sonic_ax_impl"
|
|
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles
|