mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2025-12-10 04:01:20 -06:00
LibreNMS #108
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @michelroegl-brunner on GitHub.
Originally assigned to: @michelroegl-brunner on GitHub.
https://docs.librenms.org/Installation/Install-LibreNMS/#prepare-linux-server
Application Name
LibreNMS
Website
https://www.librenms.org/
Description
LibreNMS is a network monitoring system.
There is quite a few steps in the installation process, so an install script would be really helpful..
Link to documentation:
https://docs.librenms.org/Installation/Install-LibreNMS/
There is some attempts to script the install:
https://github.com/straytripod/LibreNMS-Install
@MickLesk commented on GitHub:
Python3 - seperate msg
Php - seperate msg
Remove old curl mc sudo
why database after app ?
for what mariadb-client?
why nginx-full?
unzip not needed
wget not needed
@wii747 commented on GitHub:
Failed to install
🧩 Using Advanced Settings on node
🖥️ Operating System: debian
🌟 Version: 12
📦 Container Type: Unprivileged
🔐 Root Password: Automatic Login
🆔 Container ID: 100
🏠 Hostname: librenms
💾 Disk Size: 10 GB
🧠 CPU Cores: 2
🛠️ RAM Size: 2048 MiB
🌉 Bridge: vmbr1
📡 IP Address: dhcp
🌐 Gateway IP Address: Default
📡 APT-Cacher IP Address: Default
🚫 Disable IPv6: no
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: 192.168.70.1
🏷️ Vlan: Default
📡 Tags: community-script-dev;monitoring
🔑 Root SSH Access: no
🔧 FUSE (Filesystem in Userspace) Support: no
🔍 Verbose Mode: no
🚀 Creating a Librenms LXC using the above advanced settings
✔️ Using local for Template Storage.
✔️ Using HDD for Container Storage.
✔️ Updated LXC Template List
✔️ LXC Template is ready to use.
✔️ LXC Container 100 was successfully created.
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.70.33
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 20.26.156.215
✔️ Updated Container OS
✔️ Core dependencies installed
✔️ Installed Dependencies
✔️ Installed PHP
✔️ Installed Python
✔️ Add User
✔️ Configured Database
✔️ Setup Librenms
⠋--2025-04-26 17:37:37-- https://getcomposer.org/composer-stable.phar
Resolving getcomposer.org (getcomposer.org)... 57.128.19.244, 2001:41d0:304:300::18ef
Connecting to getcomposer.org (getcomposer.org)|57.128.19.244|:443... connected.
⠙HTTP request sent, awaiting response... 200 OK
Length: 3114082 (3.0M) [application/octet-stream]
Saving to: ‘composer-stable.phar’
⠹
composer-stable.phar 100%[=======================>] 2.97M --.-KB/s in 0.04s
2025-04-26 17:37:37 (73.1 MB/s) - ‘composer-stable.phar’ saved [3114082/3114082]
⠧Composer plugins have been disabled for safety in this non-interactive session.
Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
Do not run Composer as root/super user! See https://getcomposer.org/root for details
⠏Could not scan for classes inside "vendor/dapphp/radius" which does not appear to be a file nor a folder
⠹The "php-http/discovery" plugin was not loaded as plugins are disabled.
⠸ - Installing nesbot/carbon (2.73.0): Extracting archive
⠹Package influxdb/influxdb-php is abandoned, you should avoid using it. No replacement was suggested.
Package web-token/jwt-key-mgmt is abandoned, you should avoid using it. Use web-token/jwt-library instead.
Package web-token/jwt-signature is abandoned, you should avoid using it. Use web-token/jwt-library instead.
Package web-token/jwt-signature-algorithm-ecdsa is abandoned, you should avoid using it. Use web-token/jwt-library instead.
Package web-token/jwt-util-ecc is abandoned, you should avoid using it. Use web-token/jwt-library instead.
Generating optimized autoload files
⠦> Illuminate\Foundation\ComposerScripts::postAutoloadDump
laravel-notification-channels/webpush ................................. DONE
laravel/socialite ..................................................... DONE
laravel/tinker ........................................................ DONE
⠋............................................................ DONE
librenms/laravel-vue-i18n-generator ................................... DONE
mews/purifier ......................................................... DONE
nesbot/carbon ......................................................... DONE
nunomaduro/termwind ................................................... DONE
spatie/laravel-ignition ............................................... DONE
spatie/laravel-permission ............................................. DONE
tightenco/ziggy ....................................................... DONE
75 packages you are using are looking for funding.
Use the
composer fundcommand to find out more!⠴> LibreNMS\ComposerHelper::postInstall
⠇> Illuminate\Foundation\ComposerScripts::postInstall
⠹.......................................................... 406ms DONE
⠴.......................................................... 251ms DONE
⠦> scripts/dynamic_check_requirements.py || pip3 install --user -r requirements.txt || :
⠼Requirement already satisfied: PyMySQL!=1.0.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1)) (1.0.2)
Requirement already satisfied: python-dotenv in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (0.21.0)
Requirement already satisfied: redis>=4.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 3)) (4.3.4)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from -r requirements.txt (line 4)) (66.1.1)
⠧Collecting psutil>=5.6.0
⠇ Downloading psutil-7.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (277 kB)
⠏ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 278.0/278.0 kB 5.6 MB/s eta 0:00:00
⠋Collecting command_runner>=1.3.0
Downloading command_runner-1.7.3-py3-none-any.whl (26 kB)
⠹Installing collected packages: psutil, command_runner
⠼Successfully installed command_runner-1.7.3 psutil-7.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
✔️ Setup Composer
✔️ Setup PHP
✔️ Setup MariaDB
✔️ Configured PHP-FPM
✔️ Configured Nginx
⠋ Configure Services
[ERROR] in line 144: exit code 0: while executing command RANDOM_STRING=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
@tremor021 commented on GitHub:
@michelroegl-brunner this guy asks too many questions
@rapdodge commented on GitHub:
I'm testing LibreNMS this day... So there is something that still needs improvement, like set the php.ini date, mariadb librenms username and password
And I'm encountered this error... But maybe I just need to wait some times...

@github-actions[bot] commented on GitHub:
The librenms script is ready for testing:
bash -c "$(curl -fsSL https://github.com/community-scripts/ProxmoxVED/raw/main/ct/librenms.sh)"Note: This is not in the official repo yet—it's just a dev version! After merging into ProxmoxVE, it will need to be recreated.
@rapdodge commented on GitHub:
After using it lately, I think it's already okay, maybe just need small touch for make it works with web proxy like nginx proxy manager... Like changing the nginx & librenms configuration itself...
Maybe the leftover is only the requirement like screenshot above. It is installed, but for root, not for librenms user account... But after running the command as librenms user account, there is no complaint from the application, and it works smoothly, and I could say it's ready for production
Very much thanks for person that make it happen 🙂👍
@rapdodge commented on GitHub:
That's affirmative.
I just need to run as librenms user (su - librenms)
@michelroegl-brunner commented on GitHub:
@rapdodge You mean run the pip install as librenms user?
@michelroegl-brunner commented on GitHub:
Thank you!
@MickLesk commented on GitHub:
@michelroegl-brunner