About radius.monitor

2005-05-24 Thread Sylvain Clerc
Hello,

I'm trying to use mon 0.99 with freeradius on a debian sarge but I
think I have a problem with radius.monitor (or my mon configuration
file). My freeradius doesn't receive any request of mon and I don't
find why.
I precise in the radius.monitor the port, the username  its password
and the secret.

here is my mon.cf file : 

cfbasedir  = /etc/mon
alertdir = /usr/lib/mon/alert.d
mondir = /usr/lib/mon/mon.d

hostgroup radius localhost

watch radius
service radiusd
interval 10s
monitor radius.monitor
period wd {Sun-Sat}
alert heartbeat.stop.alert
upalert heartbeat.start.alert
_
the alert script only start or stop heartbeat

thank you,
Sylvain Clerc.

___
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon


Re: About radius.monitor

2005-05-24 Thread Sebastiaan Veldhuisen
Hi Sylvian,

Are you sure your Radius daemon listens on localhost? Try to define your
hostgroups as the ip of eth0 (or whatever your external ip is).

We are succesfully running the radius monitor, but we had to do some
changes on the dictionary of our radius daemon (we use radiator) in
order to get it working. We changed attribute Password to User-Password,
because the perl libraries that radius.monitor are using, still use the
old attribute mappings.

Regards,

Sebastiaan Veldhuisen
Leiden University

 

On Tue, 2005-05-24 at 08:20 +0200, Sylvain Clerc wrote:
 Hello,
 
 I'm trying to use mon 0.99 with freeradius on a debian sarge but I
 think I have a problem with radius.monitor (or my mon configuration
 file). My freeradius doesn't receive any request of mon and I don't
 find why.
 I precise in the radius.monitor the port, the username  its password
 and the secret.
 
 here is my mon.cf file : 
 
 cfbasedir  = /etc/mon
 alertdir = /usr/lib/mon/alert.d
 mondir = /usr/lib/mon/mon.d
 
 hostgroup radius localhost
 
 watch radius
   service radiusd
   interval 10s
   monitor radius.monitor
   period wd {Sun-Sat}
   alert heartbeat.stop.alert
   upalert heartbeat.start.alert
 _
 the alert script only start or stop heartbeat
 
 thank you,
 Sylvain Clerc.
 
 ___
 mon mailing list
 mon@linux.kernel.org
 http://linux.kernel.org/mailman/listinfo/mon

___
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon


Re: About radius.monitor

2005-05-24 Thread Ed Ravin
On Tue, May 24, 2005 at 08:20:36AM +0200, Sylvain Clerc wrote:
 I'm trying to use mon 0.99 with freeradius on a debian sarge but I
 think I have a problem with radius.monitor (or my mon configuration
 file). My freeradius doesn't receive any request of mon and I don't
 find why.

I gave up trying to use Mon's radius scripts (and the various Perl modules
needed to support them) and wrote my own instead.  See:

   http://acsys.anu.edu.au/~tpot/hypermail/mon/feb2000/1012.html

The script is very simple - it uses radclient, a test program included
in the freeradius distribution, to do all the dirty work.

I believe the patch I submitted for radclient.c eventually went into
the distribution, so don't apply that unless needed.

Hmm, I should ask the guy who maintains the contrib section in CVS
to add this monitor into the archive.

-- Ed

___
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon