Skip to content
Snippets Groups Projects
Commit 50712973 authored by Adam Wujek's avatar Adam Wujek :speech_balloon:
Browse files

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


Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
parent c5cddd8b
Branches
Tags
No related merge requests found
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"
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