ntop / nProbe

Open source components and extensions for nProbe
http://ntop.org
GNU General Public License v2.0
1.62k stars 44 forks source link

[Cento] ZMQ forwarding to more than one IP at a time #315

Open Howard-Chang opened 5 years ago

Howard-Chang commented 5 years ago

nProbe cento v.1.5.180316 This is my cento command:

cento -i ens2f1  --zmq tcp://172.XX.XX.XX:5556
cento -i ens2f0  --zmq tcp://172.XX.XX.XX:5556

This is my ntopng command:

ntopng -i tcp://*:5556c -F "logstash;172.XX.XX.XX;tcp;5510" --local-networks "163.30.0.0/16"
ntopng -i tcp://*:5556c -F "logstash;172.XX.XX.XX;tcp;5510" --local-networks "163.30.0.0/16"

Could I specify two IP at a time? such as cento -i ens2f1 --zmq tcp://172.XX.XX.XX:5556 tcp://anotherIP:port although it seems can't work expectedly. Because I want to export the packets averagely to ntopng.

cardigliano commented 5 years ago

@Howard-Chang a single ZMQ endpoint is supported by cento at the moment. Btw, are you interested in load-balancing or fanout to multiple endpoints?

Howard-Chang commented 5 years ago

@cardigliano yes, could Cento load-balance the packet to multiple endpoints?

thank you : )