Okay, here is a sample config I use for easy configuring a server as slave
REDIS
sudo apt install python3 python-mysqldb python3-pip
cd /tmp
wget http://ftp.fr.debian.org/debian/pool/main/p/python-dotenv/python3-dotenv_0.9.1-1_all.deb
sudo dpkg -i python3-dotenv_0.9.1-1_all.deb
pip3 install redis
echo "vm.overcommit_memory = 1" | sudo tee -a /etc/sysctl.conf
sudo sed -i "s/supervised no/supervised systemd/g" /etc/redis/redis.conf
KEY=$(openssl rand 60 | openssl base64 -A)
sudo sed -i "s/# requirepass foobared/requirepass ${KEY}/g" /etc/redis/redis.conf
sudo sed -i "s/# slaveof <masterip> <masterport>/slaveof #IP ADDRES OF MASTER# 6379/g" /etc/redis/redis.conf
sudo sed -i "s,# masterauth <master-password>,masterauth #SOME RANDOM GENERATED LONG KEY#**" /etc/redis/redis.conf
sudo systemctl restart redis.service
Only change: #IP ADDRES OF MASTER# and #SOME RANDOM GENERATED LONG KEY#
I’ve noticed that your REDIS are both masters, which is wrong.
One question: Is your poller running as a service instead of the old cron?
This is the first part of the Dispatcher Documentation
The new LibreNMS dispatcher service (
librenms-service.py) replaces the old poller service (poller-service.py), improving its reliability. It’s mostly a drop in replacement for the old service, but testing is recommended before switching over.