(RADIATOR) Silly question.
Jaime C. Elizaga Jr.
chaos at flash.net.ph
Thu Jan 17 22:12:13 CST 2002
Alternatively, you can use the program "restartWrapper" which is included with the radiator package. It would perform the two things you require, restart radiator if it stops and e-mail the administrator in case it stops.
Regards,
Jaime
----- Original Message -----
From: Utku Er
To: radiator at open.com.au ; Sergio Gonzalez
Sent: Friday, January 18, 2002 6:37 AM
Subject: Re: (RADIATOR) Silly question.
Hi,
If your main concern is to restart if radius is not replying rather than only *knowing* if its up,
you can write a script using radpwtst like below *on* the radiator server and put it to cron. radpwtst is really a useful tool... If you want only to report the downtime or uptime, its a different story...
------------------------
root#cat testradius.sh
#!/bin/sh
#see if its up and running
if ps -ef | grep -v grep | grep radiusd > /dev/null
then echo donothing > /dev/null
else /etc/init.d/radiator restart
fi
#see if its actually replying
if /usr/bin/radpwtst -secret yoursecret -noacct -user heartbeat -password heartbeat | grep "No reply" > /dev/null
then /etc/init.d/radiator restart
fi
exit
------------------------
----- Original Message -----
From: Sergio Gonzalez
To: radiator at open.com.au
Sent: Thursday, January 17, 2002 11:27 PM
Subject: (RADIATOR) Silly question.
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Hi there.
I been testing a network monitoring program. It cans test radius servers,
but I neet to "talk" to radiator to be able to see if it's down or not.
For example you can test if a certain server has the http service up just
"teleneting" it in the 80 port like this:
telnet machine.at.some.domain 80
then you write
HEAD / HTTP1.0^^
and if the service is up it will tell you something like:
HTTP/1.1 200 OK
how can I achieve almos the same behavior talking with radiator?.
PD: I know (of course) radiator is UDP based, but I still think maybe there
is a way to talk to it.
Thanks in advance for the help.
Sergio Alejandro Gonzalez
Director Operativo
SkyNet de Colombia.
Bogota, Colombia, South America.
57 (+1) 6 422 020
57 (+3) 7 285 094
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20020118/a1f76dd2/attachment.html>
More information about the radiator
mailing list