Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'uint64 BYTES' in openWRT always has zero value #41

Closed
whitetiger21022014 opened this issue Mar 20, 2017 · 2 comments
Closed

'uint64 BYTES' in openWRT always has zero value #41

whitetiger21022014 opened this issue Mar 20, 2017 · 2 comments

Comments

@whitetiger21022014
Copy link

Dear Nemea team,
I have problem with OpenWRT as below
When I tested with commit: e115bd7

Run flow_meter in OpenWRT

  • Run logger in OpenWRT, it will show 192.168.11.11,10.10.10.10**,0,**0
    value of 'uint64 BYTES; always zero

  • But if I use endiverter on Centos and connect to openWRT, then use logger in Centos, the BYTE will have value
    192.168.11.11,10.10.10.10,222,0
    BRs

@havraji6
Copy link
Contributor

Hello,
problem should be fixed now.

Thanks for pointing this out.

@whitetiger21022014
Copy link
Author

whitetiger21022014 commented Mar 21, 2017

Thanks @havraji6,

My comment is just enhanced option

  • logger with -w, can rotate logging, eg. will rotate log file, if it has max (nnn Bytes size) or after nnn minutes
  • Export to IPFIX collector
    flow_meter stops if it can not connect to 'IPFIX collector'. So if we restart server or 'IPFIX collector' has problem, flow_meter should try to connect and will re-send when 'IPFIX collectorl' is available

flow_meter -p basic -x 127.0.0.1:11111 -I eth1
Connecting to IP 127.0.0.1
Cannot connect to collector: Connection refused

flow_meter -p basic -x **192.168.2.40:**11111 -I eth1
Connecting to IP 192.168.2.40
Cannot connect to collector: No route to host

BRs,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants