latest stable
    version is 3.4.1rc1
    main     download     documentation     support     forum     development

 

service storage


type { hash | mysql | postgres }
Determination of the type of the data base:
  • hash
    UNIX hash (files of .db). There is support only of calculation of traffic (there are no quotas, login and other)
  • mysql
    MySQL (www.mysql.com). Are supported versions 4.0.ÕÕ, 4.1.ÕÕ è 5.ÕÕ
  • postgers
    PostgreSQL (www.postgresql.com). The support of the service billing is absent.
path XXX
Directory in the system, where will be created and stored the files of the base of given with use hash as the depository data with use MySQL/PostgreSQL it does not have a sense, is defined.

user username
Name of user for connection to MySQL/PostgreSQL, by default is root

password password
Password for the connection to MySQL/PostgreSQL, by default is absent

host hostname
The name of khosta where is established MySQL/PostgreSQL

dbname database_name
Name of the data base, by default "netams"

socket sock_name
Name of the UNIX-soket for connect NeTAMS to SQL-server. By default the connect goes through TCP-port and soket is not used.

port XXX
Name of TCP-port, through which occurs the connection with MySQL/PostgreSQL.

retry XXX
For RADIUS only: number of accounting packet send retries.

timeout XXX
For RADIUS only: timeout for accounting packets.

nas-ip A.B.C.D
For RADIUS only: IP-address of (this) server, which will be placed onto NAS-IP-Address attribute of accounting packet to be send. It is helpful if there are several interfaces on the server, and you'd like to pick up one yourself. By default, address will be taken as a first entry of output of gethostbyname(gethostname()) system call.


Ðåéòèíã@Mail.ru