ligenix/enterprise-librenms
Project ID: 96527
Description
This repository provides last LibreNMS an auto-discovering PHP/MySQL/SNMP based network monitoring which includes support for a wide range of network hardware and operating systems including Cisco, Linux, FreeBSD, Juniper, Brocade, Foundry, HP and many more.
The Debian Social Contract will be the basis of LibreNMS priority system, and mutual respect is the basis of our behavior towards others.
Security enhanced by design:
The LibreNMS source code has been patched with some symlincs to be LSB compliant, easy to install with full SELinux support.
The share files, configuration settings, private data store, and logs were moved and splitted from /opt/librenms to /usr/share/librenms, /etc/librenms, /var/lib/librenms and /var/log/librenms directories.
The SNMP configuration files were put in /etc/snmp/conf.d directory ant the extend files were moved from /etc/snmp to /usr/lib/librenms/snmp directory.
The Check_MK files were moved from /usr/lib/check_mk to /usr/lib/librenms/check_mk directory.
The Nagios Plugins files were moved from /usr/lib/nagios/plugins to /usr/lib/librenms/nagios-plugins directory.
Latest builds: LibreNMS 24.10.1 with Vendors dependencies, Agent (Check_MK and SNMP extend) Git, Weathermap Git, Nagios Plugins 2.4.12
Installation Instructions
Fedora 39, 40, 41:
(Agents for aarch64|ppc64le|s390x|x86_64)
dnf -y copr enable ligenix/enterprise-librenms ; dnf -y update; dnf -y install check-mk-agent
dnf -y copr enable ligenix/enterprise-librenms ; dnf -y update; dnf -y install librenms-snmp-agent [librenms-snmp-extend]
EPEL 8, 9, 10:
(Agents for aarch64|ppc64le|s390x|x86_64)
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-[8,9,10].noarch.rpm
dnf -y copr enable ligenix/enterprise-librenms ; dnf -y update; dnf -y install check-mk-agent
dnf -y copr enable ligenix/enterprise-librenms ; dnf -y update; dnf -y install librenms-snmp-agent [librenms-snmp-extend]
EPEL 7:
(Agents for aarch64|x86_64)
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install yum-plugin-copr ; yum -y copr enable ligenix/enterprise-librenms ; yum -y update ; yum -y install check-mk-agent
yum -y install yum-plugin-copr ; yum -y copr enable ligenix/enterprise-librenms ; yum -y update ; yum -y install librenms-snmp-agent [librenms-snmp-extend]
Fedora 39, 40, 41:
(LibreNMS aarch64|ppc64le|s390x)
dnf -y copr enable ligenix/enterprise-librenms ; dnf -y update
dnf -y install mariadb-server [httpd|nginx] php-fpm librenms [librenms-services|librenms-snmptrap|librenms-rrdcached|librenms-weathermap]
Fedora 39, 40, 41:
(LibreNMS x86_64 with Remi's RPM)
dnf -y install https://rpms.remirepo.net/fedora/remi-release-4X.rpm &&
dnf -y copr enable ligenix/enterprise-librenms ; dnf -y update
dnf config-manager --set-enabled remi ; dnf -y install mariadb-server [httpd|nginx] php-fpm librenms [librenms-services|librenms-snmptrap|librenms-rrdcached|librenms-weathermap]
EPEL 9, 10:
(LibreNMS aarch64|ppc64le|s390x)
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-[9,10].noarch.rpm
dnf -y copr enable ligenix/enterprise-librenms ; dnf -y update
dnf -y install mariadb-server [httpd|nginx] php-fpm librenms [librenms-services|librenms-snmptrap|librenms-rrdcached|librenms-weathermap]
EPEL 8, 9, 10:
(LibreNMS x86_64 with Remi's RPM)
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-[8,9,10].noarch.rpm
dnf -y install https://rpms.remirepo.net/enterprise/remi-release-[8,9,10].rpm
dnf -y copr enable ligenix/enterprise-librenms ; dnf -y update
dnf config-manager --set-enabled remi ; dnf -y module reset php ; dnf -y module enable [php:remi-8.1|php:remi-8.2|php:remi-8.3]
dnf -y module enable [mariadb:10.3|mariadb:10.5|mariadb:10.11|mysql:8.0] ; dnf -y install [mariadb-server|mysql-server] [httpd|nginx] php-fpm librenms [librenms-services|librenms-snmptrap|librenms-rrdcached|librenms-weathermap]
Fedora 39, 40, 41, EPEL 8, 9, 10:
(Required CLI setup for LibreNMS)
timedatectl set-timezone Europe/Paris
edit file /etc/php.ini:
date.timezone = Europe/Paris
edit file /etc/my.cnf.d/mariadb-server.cnf in the [Mysqld] section:
innodb_file_per_table=1
lower_case_table_names=0
systemctl enable [mariadb|mysqld] [httpd|nginx] php-fpm librenms-scheduler.timer
systemctl start [mariadb|mysqld] [httpd|nginx] php-fpm librenms-scheduler.timer
mysql_secure_installation
mysql -u root -p
CREATE DATABASE librenms CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'librenms'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON librenms.* TO 'librenms'@'localhost';
FLUSH PRIVILEGES;
(Additional CLI setup for LibreNMS with SELinux in enforcing mode for remote MariaDB/MySQL)
setsebool -P httpd_can_network_connect_db on
getsebool -a | grep httpd | grep "> on"
LibreNMS Project Documentation: Install, Update, Services, Applications
LibreNMS Community and Forums: Discord, Forum (EN)
Active Releases
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
Release | Architectures | Repo Download |
---|---|---|
EPEL 10 | aarch64 (11)*, ppc64le (19)*, s390x (16)*, x86_64 (137)* | EPEL 10 (2 downloads) |
EPEL 7 | ppc64le (26)*, x86_64 (32)* | EPEL 7 (37 downloads) |
EPEL 8 | aarch64 (29)*, ppc64le (25)*, s390x (25)*, x86_64 (1442)* | EPEL 8 (48 downloads) |
EPEL 9 | aarch64 (291)*, ppc64le (136)*, s390x (272)*, x86_64 (2264)* | EPEL 9 (60 downloads) |
Fedora 39 | aarch64 (232)*, ppc64le (161)*, s390x (115)*, x86_64 (246)* | Fedora 39 (49 downloads) |
Fedora 40 | aarch64 (123)*, ppc64le (143)*, s390x (153)*, x86_64 (348)* | Fedora 40 (72 downloads) |
Fedora 41 | aarch64 (124)*, ppc64le (124)*, s390x (19)*, x86_64 (10)* | Fedora 41 (3 downloads) |
* Total number of downloaded packages.