Revision 1, 0.6 kB
(checked in by ixs, 16 years ago)
|
initial checkin of RH revision
|
Line | |
---|
1 |
#!/usr/bin/python -tt |
---|
2 |
|
---|
3 |
import os |
---|
4 |
|
---|
5 |
# The collector port number |
---|
6 |
PORTNO = 2100 |
---|
7 |
|
---|
8 |
# Where does the collector store it's received data? |
---|
9 |
SPOOLDIR = '/var/spool/flowmon' |
---|
10 |
|
---|
11 |
# Where do we put our log? |
---|
12 |
LOGFILE_COLLECTOR = '/var/log/flowmon-collector.log' |
---|
13 |
LOGFILE_DBSPOOLER = '/var/log/flowmon-dbspooler.log' |
---|
14 |
|
---|
15 |
# mysql or postgresql data storage |
---|
16 |
DATABASE = 'mysql' |
---|
17 |
|
---|
18 |
# Database credentials |
---|
19 |
DB_HOST = 'localhost' |
---|
20 |
DB_USER = 'flowmon' |
---|
21 |
DB_PASS = 'flowmon' |
---|
22 |
DB_NAME = 'flowstorage' |
---|
23 |
|
---|
24 |
|
---|
25 |
# The systems we accept flow-exports from |
---|
26 |
routers = { |
---|
27 |
# '192.168.1.254' : 'sflow5', |
---|
28 |
'192.168.1.254' : 'netflow9', |
---|
29 |
'10.32.63.245' : 'netflow9', |
---|
30 |
'10.32.175.253' : 'netflow9' |
---|
31 |
} |
---|