Git Product home page Git Product logo

Comments (8)

Nico640 avatar Nico640 commented on July 17, 2024

Sure! Feel free to create a PR, I'll appreciate it.
I was planning to rework my CI pipeline anyway, so this would definitely become part of that ;)

from docker-unms.

oliviermichaelis avatar oliviermichaelis commented on July 17, 2024

I opened #31 with the necessary changes to the Dockerfile for arm64.
Let me know if I can help testing the changes!

from docker-unms.

Nico640 avatar Nico640 commented on July 17, 2024

Images for arm64 are up. I've already tested basic functionality of UNMS and UCRM, but haven't connected any devices to it. Should work fine though.

from docker-unms.

oliviermichaelis avatar oliviermichaelis commented on July 17, 2024

Nice, thanks a lot! I'll make sure to test it over the next couple of days with an edgerouter-x.

from docker-unms.

oliviermichaelis avatar oliviermichaelis commented on July 17, 2024

Works flawlessly for me so far :)
Thanks a lot!

from docker-unms.

oliviermichaelis avatar oliviermichaelis commented on July 17, 2024

Sadly, netflow doesn't work for me on arm64. The netflow process seems to die and stop listening on port 2055.
I ran a container on amd64 where netflow worked as expected.
Here is an output of all log lines containing netflow:

Starting unms-netflow...
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"Listening for netflow packets on port udp://10.43.78.183:2055 (23 ms)","time":"2020-05-14T18:02:12.813Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"Initializing database","time":"2020-05-14T18:02:12.820Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"Database initialized (132 ms)","time":"2020-05-14T18:02:12.952Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"Initializing RabbitMQ","time":"2020-05-14T18:02:12.954Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":50,"msg":"Failed to connect to RabbitMQ: connect ECONNREFUSED 127.0.0.1:5672","time":"2020-05-14T18:02:12.989Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"RabbitMQ initialized (30125 ms)","time":"2020-05-14T18:02:43.079Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"Subscribed for managed networks change notifications at queue 'settings.networks.changed'","time":"2020-05-14T18:02:43.109Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"Subscribed for managed networks change notifications at queue 'settings.blacklist.changed'","time":"2020-05-14T18:02:43.163Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"Subscribed for site IP addresses change notifications at queue 'site.ips.changed'","time":"2020-05-14T18:02:43.177Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"Subscribed for device authorizations at queue 'device.*.authorized'","time":"2020-05-14T18:02:43.192Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"Subscribed for device authorizations at queue 'device.*.settings.changed'","time":"2020-05-14T18:02:43.207Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"Subscribed for settings change notifications at queue 'settings.changed'","time":"2020-05-14T18:02:43.269Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"Loaded list of managed networks from database (35 ms) [ '192.168.1.0/24' ]","time":"2020-05-14T18:02:43.306Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"Loaded blacklist from database (8 ms) []","time":"2020-05-14T18:02:43.319Z","v":0}
{"name":"netflow","hostname":"unms-0","pid":351,"level":30,"msg":"Determined UNMS IP address '192.168.1.241' (89 ms)","time":"2020-05-14T18:02:43.517Z","v":0}
{"name":"UNMS","hostname":"unms-0","pid":1781,"level":20,"msg":"Registering plugin 'netflow'...","time":"2020-05-14T18:03:08.095Z","v":0}
{"name":"UNMS","hostname":"unms-0","pid":1781,"level":20,"msg":"Plugin 'netflow' registration done.","time":"2020-05-14T18:03:08.096Z","v":0}

Any ideas on where I should further investigate?

from docker-unms.

Nico640 avatar Nico640 commented on July 17, 2024

Try starting rabbitmq manually by executing rabbitmq-server .
If it's already running, disable the service with s6-svc -wd -d /var/run/s6/services/rabbitmq/ , shut rabbitmq down rabbitmqctl stop and then try to start it again and check for any errors.

from docker-unms.

oliviermichaelis avatar oliviermichaelis commented on July 17, 2024

Thanks for the pointers!
Somehow UNMS_NETFLOW_PORT is set to udp://10.43.78.183:2055 instead of 2055. In my case 10.43.78.183 is the IP of my cluster internal service from which the container receives the netflow traffic.

from docker-unms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.