Commit 50712973 authored by Adam Wujek's avatar Adam Wujek 💬

userspace/monit: use start/stop functionality of snmp init script

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent c5cddd8b
check process snmpd with pidfile /var/run/snmpd.pid
start program = "/etc/init.d/S80snmp start"
stop program = "/usr/bin/killall snmpd"
stop program = "/etc/init.d/S80snmp stop"
# if failed host localhost port 161 type udp then restart
# if 5 restarts within 10 then exec "/sbin/reboot"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment