Subversion Repositories configs

Rev

Rev 4 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
# -*- text -*-
2
#
34 - 3
#  $Id: e16550c9991a5e76a77f349cfa5b82d5163f172e $
4 - 4
 
5
#
6
#  Configuration file for the "rediswho" module.
7
#
8
rediswho {
9
	#  How many sessions to keep track of per user.
10
	#  If there are more than this number, older sessions are deleted.
11
	trim-count = 15
12
 
13
	#  Expiry time in seconds.  Any sessions which have not received
14
	#  an update in this time will be automatically expired.
15
	expire-time = 86400
16
 
34 - 17
	start-insert = "LPUSH %{User-Name} %l,%{Acct-Session-Id},%{NAS-IP-Address},%{Acct-Session-Time},%{Framed-IP-Address},%{%{Acct-Input-Gigawords}:-0},%{%{Acct-Output-Gigawords}:-0},%{%{Acct-Input-Octets}:-0},%{%{Acct-Output-Octets}:-0}"
4 - 18
	start-trim =   "LTRIM %{User-Name} 0 ${trim-count}"
19
	start-expire = "EXPIRE %{User-Name} ${expire-time}"
20
 
34 - 21
	alive-insert = "LPUSH %{User-Name} %l,%{Acct-Session-Id},%{NAS-IP-Address},%{Acct-Session-Time},%{Framed-IP-Address},%{%{Acct-Input-Gigawords}:-0},%{%{Acct-Output-Gigawords}:-0},%{%{Acct-Input-Octets}:-0},%{%{Acct-Output-Octets}:-0}"
4 - 22
	alive-trim =   "LTRIM %{User-Name} 0 ${trim-count}"
23
	alive-expire = "EXPIRE %{User-Name} ${expire-time}"
24
 
34 - 25
	stop-insert = "LPUSH %{User-Name} %l,%{Acct-Session-Id},%{NAS-IP-Address},%{Acct-Session-Time},%{Framed-IP-Address},%{%{Acct-Input-Gigawords}:-0},%{%{Acct-Output-Gigawords}:-0},%{%{Acct-Input-Octets}:-0},%{%{Acct-Output-Octets}:-0}"
4 - 26
	stop-trim =   "LTRIM %{User-Name} 0 ${trim-count}"
27
	stop-expire = "EXPIRE %{User-Name} ${expire-time}"
28
}