Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

LibreNMS Docker Setup

Featured Replies

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!

  • 3 weeks later...

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!

  • 10 months later...

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.

 

  • 3 years later...

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?

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 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.