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)

alt UniversiteParisCiteMedecine

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 (11)*, s390x (11)*, x86_64 (11)* EPEL 10 (2 downloads)
EPEL 7 ppc64le (8)*, x86_64 (21)* EPEL 7 (36 downloads)
EPEL 8 aarch64 (16)*, ppc64le (13)*, s390x (14)*, x86_64 (1264)* EPEL 8 (47 downloads)
EPEL 9 aarch64 (171)*, ppc64le (34)*, s390x (167)*, x86_64 (2135)* EPEL 9 (59 downloads)
Fedora 38 aarch64 (41)*, ppc64le (19)*, s390x (10)*, x86_64 (46)* Fedora 38 (0 downloads)
Fedora 39 aarch64 (123)*, ppc64le (52)*, s390x (20)*, x86_64 (138)* Fedora 39 (48 downloads)
Fedora 40 aarch64 (6)*, ppc64le (18)*, s390x (28)*, x86_64 (228)* Fedora 40 (72 downloads)
Fedora 41 aarch64 (11)*, ppc64le (10)*, s390x (10)*, x86_64 (10)* Fedora 41 (2 downloads)

* Total number of downloaded packages.