Draco Posted April 29, 2020 Share Posted April 29, 2020 Hi There, Searched around and wasn't able to easily find information on this. Basically looking to run LibreNMS docker and it requires a separate DB Docker looking to use MariaDB in this case. How would I go about implementing this on unraid?I have MariaDB up and running and looking to use https://hub.docker.com/r/librenms/librenms/ as the main container and it requires a DB_HOST variable, how do I utilise this? I have set both dockers as 192.168.1.203 - Libre and 192.168.1.204 - Maria DB. Any assistance would be helpful, thanks so much! Quote Link to comment
rorton Posted May 14, 2020 Share Posted May 14, 2020 id like to do similar, I have it running in a VM at the moment, if you get it running, be great to know how! Quote Link to comment
jmbrnt Posted March 21, 2021 Share Posted March 21, 2021 Bit late to the party, But I am using the librenms/librenms version of the container from CA. Before starting the librenms container, create a new MariaDB container (I am using the linuxserver/mariadb one). Once that is loaded, use the CLI for that container to build your database, and allow access from another host: CREATE DATABASE librenms CHARACTER SET utf8 COLLATE utf8_unicode_ci; CREATE USER 'librenms'@'localhost' IDENTIFIED BY 'librenms'; CREATE USER 'librenms'@'%' IDENTIFIED BY 'librenms'; GRANT ALL PRIVILEGES ON librenms.* TO 'librenms'@'localhost'; GRANT ALL PRIVILEGES ON librenms.* TO 'librenms'@'%'; FLUSH PRIVILEGES; exit Now, when you configure the LibreNMS container, point the DBhost to be the IP of the container (in my case 192.168.0.196, the same IP as the unraid box itself, as I'm using bridged networks for the containers). After a couple of minutes you can open the LibreNMS GUI and get cracking. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.