Variable name for Minute
Hi all, I understand that variable %H is for request hour, I was wondering the variable name for request minute? This is so that I can rotate the sql relay log file every minute. Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete in the Australian marketplace through ONE Brand, ONE Provider, ONE Solution. Level 14 520 Collins Street Melbourne 3000 VIC Phone: 1300 663 400 Fax: 1300 665 400 E-Mail: sajeewaw@ispone.com.au Web: http://www.ispone.com.au/
%l (lower case L) Tim
-----Original Message----- From: freeradius-users- bounces+tim.sylvester=networkradius.com@lists.freeradius.org [mailto:freeradius-users- bounces+tim.sylvester=networkradius.com@lists.freeradius.org] On Behalf Of Sajeewa Warnakulasuriya Sent: Sunday, June 21, 2009 8:08 PM To: freeradius-users@lists.freeradius.org Subject: Variable name for Minute
Hi all,
I understand that variable %H is for request hour, I was wondering the variable name for request minute?
This is so that I can rotate the sql relay log file every minute.
Regards,
Sajeewa Warnakulasuriya
Systems Development Manager
ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete in the Australian marketplace through ONE Brand, ONE Provider, ONE Solution.
Level 14 520 Collins Street Melbourne 3000 VIC
Phone: 1300 663 400
Fax: 1300 665 400
E-Mail: sajeewaw@ispone.com.au
Web: http://www.ispone.com.au/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
How did you find this out? I tried printenv method on a exec script but all it outputted was the variable names for attributes in the radius packet. Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete in the Australian marketplace through ONE Brand, ONE Provider, ONE Solution. Level 14 520 Collins Street Melbourne 3000 VIC Phone: 1300 663 400 Fax: 1300 665 400 E-Mail: sajeewaw@ispone.com.au Web: http://www.ispone.com.au/ On Sun, 21 Jun 2009, Tim Sylvester wrote:
%l (lower case L)
Tim
-----Original Message----- From: freeradius-users- bounces+tim.sylvester=networkradius.com@lists.freeradius.org [mailto:freeradius-users- bounces+tim.sylvester=networkradius.com@lists.freeradius.org] On Behalf Of Sajeewa Warnakulasuriya Sent: Sunday, June 21, 2009 8:08 PM To: freeradius-users@lists.freeradius.org Subject: Variable name for Minute
Hi all,
I understand that variable %H is for request hour, I was wondering the variable name for request minute?
This is so that I can rotate the sql relay log file every minute.
Regards,
Sajeewa Warnakulasuriya
Systems Development Manager
ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete in the Australian marketplace through ONE Brand, ONE Provider, ONE Solution.
Level 14 520 Collins Street Melbourne 3000 VIC
Phone: 1300 663 400
Fax: 1300 665 400
E-Mail: sajeewaw@ispone.com.au
Web: http://www.ispone.com.au/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Opps! %l is for "timestamp" which is not what you want. Tim
-----Original Message----- From: Sajeewa Warnakulasuriya [mailto:sajeewaw@ispone.com.au] Sent: Sunday, June 21, 2009 10:29 PM To: tim.sylvester@networkradius.com; FreeRadius users mailing list Subject: RE: Variable name for Minute
How did you find this out? I tried printenv method on a exec script but all it outputted was the variable names for attributes in the radius packet.
Regards,
Sajeewa Warnakulasuriya
Systems Development Manager
ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete in the Australian marketplace through ONE Brand, ONE Provider, ONE Solution.
Level 14 520 Collins Street Melbourne 3000 VIC
Phone: 1300 663 400
Fax: 1300 665 400
E-Mail: sajeewaw@ispone.com.au
Web: http://www.ispone.com.au/
On Sun, 21 Jun 2009, Tim Sylvester wrote:
%l (lower case L)
Tim
-----Original Message----- From: freeradius-users- bounces+tim.sylvester=networkradius.com@lists.freeradius.org [mailto:freeradius-users- bounces+tim.sylvester=networkradius.com@lists.freeradius.org] On Behalf Of Sajeewa Warnakulasuriya Sent: Sunday, June 21, 2009 8:08 PM To: freeradius-users@lists.freeradius.org Subject: Variable name for Minute
Hi all,
I understand that variable %H is for request hour, I was wondering the variable name for request minute?
This is so that I can rotate the sql relay log file every minute.
Regards,
Sajeewa Warnakulasuriya
Systems Development Manager
ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete in the Australian marketplace through ONE Brand, ONE Provider, ONE Solution.
Level 14 520 Collins Street Melbourne 3000 VIC
Phone: 1300 663 400
Fax: 1300 665 400
E-Mail: sajeewaw@ispone.com.au
Web: http://www.ispone.com.au/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi Alan, I already checked it and all i found was the below. Variable Description Proper Equivalent -------- ----------- ---------------- %a Protocol (SLIP/PPP) %{Framed-Protocol} %c Callback-Number %{Callback-Number} %d request day (DD) %f Framed IP address %{Framed-IP-Address} %i Calling Station ID %{Calling-Station-Id} %l request timestamp %m request month (MM) %n NAS IP address %{NAS-IP-Address} %p Port number %{NAS-Port} %s Speed (PW_CONNECT_INFO) %{Connect-Info} %t request in ctime format %u User name %{User-Name} %A radacct_dir %{config:radacctdir} %C clientname %D request date (YYYYMMDD) %H request hour %L radlog_dir %{config:logdir} %M MTU %{Framed-MTU} %R radius_dir %{config:raddbdir} %S request timestamp in SQL format %T request timestamp in database format %U Stripped User name %{Stripped-User-Name} %V Request-Authenticator (Verified/None) %Y request year (YYYY) %Z All request attributes except password (must have a big buffer) also man unlang didn't show me any hints either, unless I'm reading it wrong. Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete in the Australian marketplace through ONE Brand, ONE Provider, ONE Solution. Level 14 520 Collins Street Melbourne 3000 VIC Phone: 1300 663 400 Fax: 1300 665 400 E-Mail: sajeewaw@ispone.com.au Web: http://www.ispone.com.au/ On Mon, 22 Jun 2009, Alan DeKok wrote:
Sajeewa Warnakulasuriya wrote:
Hi all,
I understand that variable %H is for request hour, I was wondering the variable name for request minute?
doc/variables.txt
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Alan, Is there a file that I can modify to have a variable for minute? Regards, Sajeewa Warnakulasuriya Systems Development Manager ispONE is a wholesale ISP built to help internet access resellers and independent ISPs to compete in the Australian marketplace through ONE Brand, ONE Provider, ONE Solution. Level 14 520 Collins Street Melbourne 3000 VIC Phone: 1300 663 400 Fax: 1300 665 400 E-Mail: sajeewaw@ispone.com.au Web: http://www.ispone.com.au/ On Mon, 22 Jun 2009, Alan DeKok wrote:
Sajeewa Warnakulasuriya wrote:
Hi Alan,
I already checked it and all i found was the below.
Hmm... I had thought something was there. It looks like the code doesn't support it, sorry.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
Alan DeKok -
Sajeewa Warnakulasuriya -
Tim Sylvester