monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

radius syntax?


From: Len Conrad
Subject: radius syntax?
Date: Wed, 10 Oct 2012 20:16:22 +0200

the doc says:

check process radiusd with pidfile /var/run/radiusd.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

my config is (monit 5.5, fbsd 8.2), xxx.4.63.16 is the local host:

check process rad1.xxx.net-RADIUS with pidfile /var/run/radiusd.pid   
  start program = "/usr/local/etc/rc.d/radiusd start"
  stop  program = "/usr/local/etc/rc.d/radiusd stop"
  if failed host xx.4.62.16 port 1812 type udp protocol radius
     secret testing123
  then alert      

this always fails, from the monit.log:

[CDT Oct 10 13:11:49] error    : 'rad1.xxx.net-RADACCT' failed protocol test 
[RADIUS] at INET[xx.4.62.16:1812testing123] via UDP -- RADIUS: error sending 
query -- No route to host

Len





reply via email to

[Prev in Thread] Current Thread [Next in Thread]