Proxmox installation of LibreNMS : quick tutorial

I tough these quicksteps could be useful for beginner :wink:

  1. Download LibreNMS OVA on your local workstation from : Release 21.2.0 · librenms/packer-builds · GitHub

  2. If you only have root account on your Proxmox host you need to add another user in order to upload the OVA to the Proxmox host so log to your host with ssh and create a new user: (XXXXXX is your new username)
    adduser XXXXXX
    usermod -a -G root XXXXXX

  3. It’s a good time to install sudo if it is missing:
    apt install sudo

  4. Allow this user to use sudo (always useful) :
    visudo
    add line :
    XXXXXX ALL=(ALL) NOPASSWD:ALL

  5. Connect to your Proxmox host with an sftp client from your workstation to upload the OVA

  6. Login to your proxmox host with ssh and move the OVA
    mv /home/XXXXXX/.ova /tmp*

  7. Decompress image :
    tar xvf /tmp/librenms-ubuntu-20.04-amd64.ova

  8. Create a VM from the GUI without any disks (you will use the downloaded one after)

  9. Import the decompressed disk to that vm from your ssh console: (YYYY is the vm id you just created)
    qm importdisk YYYY librenms-ubuntu-20.04-amd64-disk001.vmdk local -format qcow2

  10. Return to the Proxmox gui and attach the disk to the VM (double click the unused disk)
    -Click add
    -Go in the VM “Option Tab” and double click “Boot Order”:
    -Select the disk you just added and attached

  11. Boot the VM. If there is no login prompt, press enter.

  12. Login with the cred you get from : Virtual machines - LibreNMS Docs

  13. It is a good time to change that password
    passwd

  14. Now you probably have no network at this point so lets list the interfaces, check with :
    ip a

Remember the interface name (something like ens18)

  1. Edit netplan:
    sudo vi /etc/netplan/00-installer-config.yaml
    Under “ethernet:” rename the interface to what you got from IP A (ens18….)
    Save and quit

  2. Apply update with :
    netplan apply

reboot

check your ip and access the librenms from a web browser :slight_smile:

Remember the librenms password is not the same from ssh and the web gui.
Hope that help :wink:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.