Simultaneous-Use x Inactive sessions
Hello everyone, I am implementing a FR 3.0.8 using control simultaneous sessions (Simultaneous-Use: = 2). Some sessions are accumulating without the Acct-Status-Type Stop and are being counted as active session. How to periodically remove the BD these inactive sessions? Best Regards, Renato
On Jul 17, 2015, at 7:52 PM, Renato Sousa <rensousa@gmail.com> wrote:
I am implementing a FR 3.0.8 using control simultaneous sessions (Simultaneous-Use: = 2). Some sessions are accumulating without the Acct-Status-Type Stop and are being counted as active session. How to periodically remove the BD these inactive sessions?
Use an UPDATE statement to edit the rows. Or, use radzap. Alan DeKok.
Hi Alan,
Use an UPDATE statement to edit the rows.
Or, use radzap.
I tried using the radzap, but the command displayed error below: # radzap -u myuser@mydomain 127.0.0.1 testing123 (0) Error parsing "stdin": Failed to get value radclient: Failed parsing input files The option to use UPDATE statement attracts me, but how do I differentiate an active section of an inactive? It is possible to set a timeout for session and consider any record whose different from the current date/time and the acctupdatetime field is greater than timeout is inactive?
On Jul 20, 2015, at 5:04 PM, Renato Sousa <rensousa@gmail.com> wrote:
I tried using the radzap, but the command displayed error below:
# radzap -u myuser@mydomain 127.0.0.1 testing123 (0) Error parsing "stdin": Failed to get value radclient: Failed parsing input files
I supposed I'll take a look.
The option to use UPDATE statement attracts me, but how do I differentiate an active section of an inactive?
Look in the database?
It is possible to set a timeout for session and consider any record whose different from the current date/time and the acctupdatetime field is greater than timeout is inactive?
This is called "writing an SQL statement". Alan DeKok.
participants (2)
-
Alan DeKok -
Renato Sousa