Wanted to say i appreciate your librenms setup guide very much. I had setup librenms before the July upgrade. I am trying to fix it. I recreated both containers using the new variables. The polling issue seems to be fixed but my graphs still don’t show up. Here is a screenshot of my mariadb container. I read your ticket with jari and the innodb + lower case values fixed your issues. Theyr don’t seem to work for me. Running on synology docker. Thanks for the help and good work!
Hm… everything seems to work fine from the validation
Which version are you using, and are you updating to latest libre?
I’ve recently updated to 1.67 from 1.66, you should see ./lnms migrate during validation
You might need to setup a second deployment of my tutorial steps from scratch to see whether it works, as I didn’t upgrade from before the new alias/db options. I suspect there might be database mismatches that point to invalid RRD links, thus the missing graphs…
(Do note that this deletes the device RRD graphs) If you have a not-so-important device, could you try to remove that device from LibreNMS and add it back again to see whether the graphs show up?
If you wish to keep the current data, I would recommend setting up a second set of librenms/mariadb with different port. eg: 8669 , and see whether the deployment works from the beginning
Agent etc is working but cannot connect to the docker container I think. Need to recreate the container with port 6556 also added but I’m not very sure.
Hm, TCP-6556 is FROM the librenms, so you don’t need to open ports on the container side, you would need to check firewall and allow TCP-6556 on the device with the agent.
In librenms, under the device with agent, Settings > Modules > Enable Unix Agent (Left of page)
You have to manually allow the apps/modules that you want to monitor on. Application Docs / Agent
On same device page, 3 dots (beside Settings/Gear Icon) , click on Capture, under Discovery, click Run. Check for check_mk logs (screenshot: LibreNMS and Raspberry Pi - #3 by jasonloong)
Do same as above for Poller, and check logs on the check_mk/unix agent
If that still does not work
You have to manually check the scripts provided and make sure they point to correct bin PATH if non-standard Linux like FreeBSD
I am going through this tutorial now. I see in the tutorial, you are running MariaDB in another Docker container. However, I already have a MariaDB set up on my Synology.
I see the line below:
–link mariadb:libredb \
I see that creates a link from the MariaDB container to the LibreNMS container. If I don’t need this link, how could I modify this command? Or can I just remove it?
Yes, please remove the –link mariadb:libredb \ , as it is a convenience command to “link” hostname of “libredb” to another container called “mariadb” which was created in the tutorial
For your case, you should update -e DB_HOST=SYNO.IP \ and other SQL credentials to your MariaDB settings on Syno
Trying your guide, but I must be doing something wrong. I used an existing MariaDB container, but as far as I can tell I have changed the commands appropriately
When I come to this command:
docker exec librenms setup_database
I get this error:
Could not open input file: /opt/librenms/includes/sql-schema/update.php