Hi,
I am trying to deploy distributed poller in scenario where we already have master deployed manually on RHEL. Poller is deployed as docker container
I have Redis component, rrdcached (without nfs), and mysql available via network. Everything seem to run fine, however for some reason poller recieves sigterm each night at 2:35 after daily cron job. Running this job manually wont reproduce the issue. I am stuck what could be killing it.
I am running containers on RHEL with podman as docker runtime. I run two containers similar to this docker-librenms/docker-compose-distributed-poller.yml at master · setiseta/docker-librenms · GitHub
- librenms
- librenms-dispatcher (sidecar)
./validate result from dispatcher
Component | Version |
---|---|
LibreNMS | 21.5.0 |
DB Schema | 2021_04_08_151101_add_foreign_keys_to_port_group_port_table (208) |
PHP | 7.4.19 |
Python | 3.8.10 |
MySQL | 10.3.28-MariaDB |
RRDTool | 1.7.2 |
SNMP | NET-SNMP 5.9 |
==================================== |
[OK] Installed from the official Docker image; no Composer required
[OK] Database connection successful
[OK] Database schema correct
[FAIL] MySQL Database collation is wrong: latin1 latin1_swedish_ci
[FIX]:
Check New default database charset / collation for info on how to fix.
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN] Updates are managed through the official Docker image
Dispatcher sidecar env config
TZ=CET
PUID=2000
PGID=2000
DB_PASSWORD=xxxxxxxxx
DB_HOST=xxxxxxxx
DB_NAME=librenms
DB_USER=librenms
REDIS_HOST=xxxxxxxxxx
REDIS_PORT=6379
CACHE_DRIVER=redis
IS_POLLER=1
POLLER_GROUP=0
SIDECAR_DISPATCHER=1
DISPATCHER_NODE_ID=xxxxxxxxxxx
RRDCACHED_SERVER=xxxxxxxxxxxxx:42217
librenms docker config:
TZ=CET
PUID=2000
PGID=2000
POLLER_GROUP=0
DB_PASSWORD=xxxxxxxxxxx
DB_HOST=xxxxxxxxxxxxxxxxxx
DB_NAME=librenms
DB_USER=librenms
RRDCACHED_SERVER=xxxxxxxxxxx:42217
- the screenshot from log I receive during night shutdown