Jay,

        Yes, this is very doable if you are writing the online data into
an sql database.  If your database engine supports remote tcp/ip
connections, then you can edit the cgi scripts to provide the proper
username/password combination to talk to the radiator machine.  If you are
using the internal session database, then it would be pretty hard to get
that information as it is being saved in memory or on disk in a .db file.
An example of how to talk to a remote db follows (a snippet from the
radwho.cgi script):

$DBSource = 'dbi:Pg:dbname=passwd;host=remote.server.com';
$DBUsername = 'raduser';
$DBAuth = 'radPassword';


This would allow the radwho.cgi script to query the remote database on
remote.server.com using the username raduser and the password
radPassword.  You'll have to modify according to the db you are using.

--------------------------------------------------------------------------
Aaron Holtz
ComNet Inc.
UNIX Systems Specialist
Email:  [EMAIL PROTECTED]
"It's not broken, it just lacks duct tape."
--------------------------------------------------------------------------


On Tue, 24 Aug 1999, Jay West wrote:

>There's a cgi program included in radiator that can be called from a
>webbrowser to see who's currently online, etc. etc.
>
>Is there any way that this cgi can be run on a different machine than the
>radiator server? I hate mucking up my nice radius servers with web server
>software when I have quite a few perfectly good web servers sitting next to
>them. Is this possible and what (in general terms) is required?
>
>Thanks in advance!!
>
>Jay West
>
>
>===
>Archive at http://www.thesite.com.au/~radiator/
>To unsubscribe, email '[EMAIL PROTECTED]' with
>'unsubscribe radiator' in the body of the message.
>


===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to