Skip to content

Instantly share code, notes, and snippets.

@seanmavley
Created December 22, 2016 08:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanmavley/ded564a4ee706376f843b6a12afec77b to your computer and use it in GitHub Desktop.
Save seanmavley/ded564a4ee706376f843b6a12afec77b to your computer and use it in GitHub Desktop.
Monitor freeradius with Monit
check process freeradius with pidfile /var/run/freeradius/freeradius.pid
start program = "/etc/init.d/freeradius start"
stop program = "/etc/init.d/freeradius stop"
if failed host 127.0.0.1 port 1812 type udp protocol radius secret testing123 then alert
if failed host 127.0.0.1 port 1812 type udp protocol radius secret testing123 then alert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment