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

 

Initial tuning


Copy exemplary configurative file from addon/netams.cfg into the place, indicated in the variable PATH_.TO_.CONFIG your Makefile, that was being used with the compilation.

Configurative file must contain something like for the minimum starting:

debug none
user name admin real-name Admin password aaa email root permit all

service server 0
login local
listen 20001
max-conn 6

service processor 0
lookup-delay 60
flow-lifetime 300
policy oid 14643C name ip target proto ip
restrict all pass local pass
unit group name ALL
unit user name server ip 192.168.0.1 acct-policy ip

service storage 1
type mysql

service data-source 1
type libpcap
source eth0 # set here the name of your net-interface!
rule 11 "ip"

service alerter 0
report oid 06100 name rep1 type traffic period day detail simple
smtp-server localhost

service html 0
path /var/html
run hourly
We start programu:
/usr/lochal/etch/rc.d/netams-startup.sh start
With the successful starting you uvidete process netams in the list of the carried out processes in the system. It is possible to try to be joined to the program:

telnet localhost 20001
(indicate login, "admin")
(indicate password, "aaa")

in the case of success you uvidete invitation to the collection of the commands:
>

Try to carry out commands "html", "save", "show version", "show config".

The first command, html, will create in the catalog of /.var/yutml (indicated in command path of service html) files with the current statistics and the parameters of system.

You had to dispose your vebserver so that it would represent these pages.

The second command, save, causes the retention of the current carried out configurative file back into the file. This is necessary for retaining the values of the keys BD, appropriated to objects automatically.

If all four commands worked out successfully and you saw changes in konfiguratsionnm file, HTML- pages were accessible to you and information about the version shows to vapor of tens of lines - we congratulate, you successfully established NeTAMS.

Рейтинг@Mail.ru