April 29, 20206 yr 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!
May 14, 20206 yr 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!
March 21, 20215 yr 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.
May 24, 20242 yr When I open the console I get root@6c1ce285de86:/# So when I paste CREATE DATABASE librenms CHARACTER SET utf8 COLLATE utf8_unicode_ci; I get bash: CREATE: command not found What am I doing wrong?
May 24, 20242 yr Ive installed adminer - have got it working (had name of server instead of "%" when creating username) Still would like to find out how to do this in the console tho Edited May 24, 20242 yr by WaldonPaul
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.