Подскажите пожалуйста. Поставил BGBilling 5.2, поставил IPN и коллектор, но коллектор логи не собирает.
Вот конфиг коллектора:
Код:
port.admin=2003
#\u043a\u043e\u0434 \u043c\u043e\u0434\u0443\u043b\u044f IPN
collector.mid=1
#\u043e\u043f\u0446\u0438\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0411\u0414
db.driver=com.mysql.jdbc.Driver
db.url=jdbc:mysql://127.0.0.1/bgbilling?useUnicode=true&characterEncoding=Cp1251&zeroDateTimeBehavior=convertToNull&jdbcCompliantTruncation=false&elideSetAutoCommits=true&cachePrepStmts=true&connectTimeout=1000
db.user=xxxx
db.pswd=xxxx
db.maxActive=300
db.maxIdle=100
db.validationTimeout=10
mq.url=failover:(nio://127.0.0.1:61616?socketBufferSize=1000000)
mq.user=xxxxx
mq.pswd=xxxxx
#\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \u043b\u043e\u0433\u043e\u0432
log.dir=/usr/local/netflow
load=1
process=1
sources=1
#\u043f\u043e\u0440\u0442
collector.capture.flow.port.1=2004
#\u0442\u0438\u043f \u0441\u043b\u0443\u0448\u0430\u0442\u0435\u043b\u044f
collector.capture.flow.port.1.type=netflow
#\u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043d\u0430 \u043f\u043e\u0440\u0442\u0443 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438 (\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430)
collector.capture.flow.port.1.sources=1
#\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432
collector.capture.flow.port.1.thread.count=10
#
#collector.capture.flow.port.2=2005
#collector.capture.flow.port.2.type=sflow
#collector.capture.flow.port.2.sources=0
#collector.capture.flow.port.2.thread.count=10
#\u043e\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u0435\u043b\u044c snmp
#collector.capture.snmp=1
#collector.capture.snmp.sources=1
#\u0440\u0430\u0437\u043c\u0435\u0440 \u0431\u043b\u043e\u043a\u0430
datalog.chunk.size=524288
#\u0441\u0436\u0430\u0442\u0438\u0435 \u043b\u043e\u0433\u043e\u0432
В IPN модуле создал источник, создал папку для netflow логов
Сам netflow приходит
Код:
[root@billing BGIPNNetflowCollector]# tcpdump -n -i eth0 port 2004
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
15:43:50.813649 IP 172.16.70.233.62529 > 172.16.5.25.emce: UDP, length 1464
15:43:50.813678 IP 172.16.70.233.62529 > 172.16.5.25.emce: UDP, length 1464
15:43:50.813773 IP 172.16.70.233.62529 > 172.16.5.25.emce: UDP, length 1272
15:43:50.815141 IP 172.16.70.233.62529 > 172.16.5.25.emce: UDP, length 1464
15:43:50.815210 IP 172.16.70.233.62529 > 172.16.5.25.emce: UDP, length 1464
15:43:50.815332 IP 172.16.70.233.62529 > 172.16.5.25.emce: UDP, length 1272
15:43:50.815339 IP 172.16.70.233.62529 > 172.16.5.25.emce: UDP, length 360
15:43:51.053837 IP 172.16.70.232.49525 > 172.16.5.25.emce: UDP, length 1464
15:43:51.053921 IP 172.16.70.232.49525 > 172.16.5.25.emce: UDP, length 1464
15:43:51.054020 IP 172.16.70.232.49525 > 172.16.5.25.emce: UDP, length 1272
15:43:51.054473 IP 172.16.70.232.49525 > 172.16.5.25.emce: UDP, length 1464
Коллектор запущен
Код:
[root@billing BGIPNNetflowCollector]# ./netflow_status.sh
Traffic collector for IPN v 5.2 build 242 from 31.08.2012 13:27:20
Started: 16.09.2012 15:37:05 Uptime: 0 d 00:07:43
Memory total: 123 535 360; max: 238 616 576; free: 103 756 048
Memory pools:
Non-heap memory[Code Cache]: max: 50 331 648; used: 823 936; peek: 846 976
Heap memory[PS Eden Space]: max: 78 839 808; used: 13 904 376; peek: 32 309 248
Heap memory[PS Survivor Space]: max: 5 308 416; used: 4 345 656; peek: 5 302 272
Heap memory[PS Old Gen]: max: 178 978 816; used: 1 529 280; peek: 1 529 280
Non-heap memory[PS Perm Gen]: max: 85 983 232; used: 16 762 624; peek: 16 762 624
Thread count: 22
FlowListener: queue_size: 0; threads_active: 0; largest: 0; core: 10; pool_size: 0; ru.bitel.bgbilling.modules.ipn.collector.IPNFlowListener$3@267a754f [recv_socket_buf_size: 131 071; recv_buf_size: 2 097 152]; packets: 0
Flow loader: [files: 0]
Hour logs processed: 0
Connections pool to Master status Idle: 1; Active: 1; maxActive: 300; maxIdle: 100
Подскажите, в чем может быть причина.