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.4.1 with Vendors dependencies, Agent (Check_MK and SNMP extend) Git, Weathermap Git, Nagios Plugins 2.4.9

Installation Instructions

Fedora 38, 39, 40, EPEL 8, 9:

(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 7:

(Agents for aarch64|x86_64)
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 38, 39, 40, EPEL 9

(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-rrdcached|librenms-weathermap]

Fedora 38, 39, 40

(LibreNMS x86_64 with Remi's RPM)
dnf -y install https://rpms.remirepo.net/fedora/remi-release-3X.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-rrdcached|librenms-weathermap]

EPEL 8, 9

(LibreNMS x86_64 with Remi's RPM)
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-[8,9].noarch.rpm
dnf -y install https://rpms.remirepo.net/enterprise/remi-release-[8,9].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]
dnf -y module enable [mariadb:10.3|mariadb:10.5|mysql:8.0] ; dnf -y install [mariadb-server|mysql-server] [httpd|nginx] php-fpm librenms [librenms-services|librenms-rrdcached|librenms-weathermap]

Fedora 38, 39, 40, EPEL 8, 9:

(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 7 ppc64le (2)*, x86_64 (11)* EPEL 7 (13 downloads)
EPEL 8 aarch64 (2)*, ppc64le (6)*, s390x (8)*, x86_64 (969)* EPEL 8 (27 downloads)
EPEL 9 aarch64 (163)*, ppc64le (24)*, s390x (46)*, x86_64 (1423)* EPEL 9 (27 downloads)
Fedora 38 aarch64 (31)*, ppc64le (2)*, s390x (2)*, x86_64 (22)* Fedora 38 (19 downloads)
Fedora 39 aarch64 (2)*, ppc64le (25)*, s390x (5)*, x86_64 (12)* Fedora 39 (22 downloads)
Fedora 40 aarch64 (0)*, ppc64le (14)*, s390x (28)*, x86_64 (94)* Fedora 40 (2 downloads)

* Total number of downloaded packages.