You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed oxidized in a docker container on ubuntu 22.04.1 and is working perfectly with the exception of the built-in syslog. It does not appear to be binding to the UDP port and no messages are logged.
Finally, here is the output of the container console:
user@host:/opt/docker/oxidized$ docker compose up
[+] Running 1/0
✔ Container oxidized Created 0.0s
Attaching to oxidized
oxidized | *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
oxidized | *** Running /etc/my_init.d/10_syslog-ng.init...
oxidized | Dec 10 09:08:28 e8fed242965c syslog-ng[13]: syslog-ng starting up; version='4.3.1'
oxidized | *** Booting runit daemon...
oxidized | *** Runit started as PID 22
oxidized | Dec 10 09:08:29 e8fed242965c cron[28]: (CRON) INFO (pidfile fd = 3)
oxidized | Dec 10 09:08:29 e8fed242965c cron[28]: (CRON) INFO (Skipping @reboot jobs -- not system startup)
oxidized | I, [2024-12-10T09:08:29.734643 #29] INFO -- : Oxidized starting, running as pid 29
oxidized | I, [2024-12-10T09:08:29.735309 #29] INFO -- : lib/oxidized/nodes.rb: Loading nodes
oxidized | I, [2024-12-10T09:08:29.843359 #29] INFO -- : lib/oxidized/nodes.rb: Loaded 1 nodes
oxidized | Puma starting in single mode...
oxidized | * Puma version: 6.4.2 (ruby 3.2.3-p157) ("The Eagle of Durango")
oxidized | * Min threads: 0
oxidized | * Max threads: 5
oxidized | * Environment: development
oxidized | * PID: 29
oxidized | * Listening on http://0.0.0.0:8888
oxidized | Use Ctrl-C to stop
oxidized | I, [2024-12-10T09:08:39.087231 #29] INFO -- : Configuration updated for /cisco-router
So it appears as if syslog-ng is loading, but not binding to anything, and as a result no messages are being logged, so the scripts aren't firing off.
I have tried setting the "use_syslog: true" in the oxidized config, but that didn't solve it either (though the container logs did go to the containers /var/log/messages file).
Can someone point me in the right direction to get it working?
The text was updated successfully, but these errors were encountered:
I have installed oxidized in a docker container on ubuntu 22.04.1 and is working perfectly with the exception of the built-in syslog. It does not appear to be binding to the UDP port and no messages are logged.
Here is my compose.yaml file:
I can see that UDP port 1514 is being bound on the host:
I have also verified that the port is mapped to the container within docker:
tcpdump shows messages are received on the network-facing interface:
As well as within the container:
Here is the oxidized config:
Within the container, nothing is bound to UDP port 1514:
Finally, here is the output of the container console:
So it appears as if syslog-ng is loading, but not binding to anything, and as a result no messages are being logged, so the scripts aren't firing off.
I have tried setting the "use_syslog: true" in the oxidized config, but that didn't solve it either (though the container logs did go to the containers /var/log/messages file).
Can someone point me in the right direction to get it working?
The text was updated successfully, but these errors were encountered: