Package Details: librenms 1.58-1

Git Clone URL: https://aur.archlinux.org/librenms.git (read-only)
Package Base: librenms
Description: Autodiscovering PHP/MySQL/SNMP based network monitoring
Upstream URL: https://www.librenms.org/
Licenses: GPL3
Submitter: freaknils
Maintainer: dvzrv
Last Packager: dvzrv
Votes: 4
Popularity: 0.010102
First Submitted: 2015-12-14 12:03
Last Updated: 2019-11-25 20:19

Pinned Comments

dvzrv commented on 2019-02-28 19:35

I've now updated to 1.48.1. Please note: This fundamentally changes everything about how this package was built/installed before! It now thrives to be as FHS compliant as possible and only state files, log files and caches (and of course configs) are writable by the librenms user.

This also changes to a user/group setup of librenms/librenms instead of librenms/http, as the latter is unsafe (it can access all other web applications' data!).

Make sure to test this setup before just switching to it. Make backups!

Known problems are:

  • librenms.service has issues reading something from the .env configuration (it can read it, but fails parsing it, somehow). If you can debug it, please do. I couldn't get it to work properly...

  • the cron jobs are currently untested, as I only have systemd timers (those could be added within this repository).

  • There is a bug with the laravel vendor stuff, not supporting php 7.3*, so you will see error pages from time to time (a page refresh worked for me every time though...). Librenms upstream needs to fix this...

  • I've only tested this with nginx + uwsgi and plan to also add an example file for uwsgi

Last but not least: If you want co-maintainership of this package, please let me know. Be warned: It's not pretty. Only attempt if you have a high tolerance towards php/python pain.

Latest Comments

1 2 3 Next › Last »

Strykar commented on 2019-06-14 18:42

All your efforts make me wonder if I should install Docker just for this instead :/

dvzrv commented on 2019-02-28 19:35

I've now updated to 1.48.1. Please note: This fundamentally changes everything about how this package was built/installed before! It now thrives to be as FHS compliant as possible and only state files, log files and caches (and of course configs) are writable by the librenms user.

This also changes to a user/group setup of librenms/librenms instead of librenms/http, as the latter is unsafe (it can access all other web applications' data!).

Make sure to test this setup before just switching to it. Make backups!

Known problems are:

  • librenms.service has issues reading something from the .env configuration (it can read it, but fails parsing it, somehow). If you can debug it, please do. I couldn't get it to work properly...

  • the cron jobs are currently untested, as I only have systemd timers (those could be added within this repository).

  • There is a bug with the laravel vendor stuff, not supporting php 7.3*, so you will see error pages from time to time (a page refresh worked for me every time though...). Librenms upstream needs to fix this...

  • I've only tested this with nginx + uwsgi and plan to also add an example file for uwsgi

Last but not least: If you want co-maintainership of this package, please let me know. Be warned: It's not pretty. Only attempt if you have a high tolerance towards php/python pain.

dvzrv commented on 2019-02-28 18:48

@Atraii: Yeah, the upstream info is only partially relevant for our use-case. I'm still on the task, but had a bunch of other things interfering. Upstream's choice to do everything with composer doesn't make any of this better. Integration is a big hack job and currently I'm fighting with tmpfiles.d integration for all the bizarre stuff this application requires...

Atraii commented on 2019-02-25 16:50

I don't think we need php-mcrypt anymore. However, these are the ubuntu dependencies listed:

php7.2-cli php7.2-curl php7.2-fpm php7.2-gd php7.2-json php7.2-mbstring php7.2-mysql php7.2-snmp php7.2-xml php7.2-zip

curl composer fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap python-memcache python-mysqldb rrdtool snmp snmpd whois

Running the new version leaves me with dependencies unmet.

Atraii commented on 2019-02-25 15:59

@dvzrv Thanks for the great package. Any update on the more secure package?

dvzrv commented on 2018-11-24 14:40

Please note: I'm on updating the package, but want to try some other/new approaches to make using this application more safe. This might require a few more days depending on how fast I am. Sorry for the delay.

Anthony25 commented on 2018-10-07 21:35

@dvzrv: great, thanks!

dvzrv commented on 2018-10-07 21:28

@Anthony25: Yeah, I'd be up for it!

lukyjay commented on 2018-07-25 04:44

Build fails as dependency for freetype-config is not found.

Any idea how to fix this? Looks like freetype-config is an outdated package and should be replaced with pkg-config but I'm unsure how?

HeyCitizen commented on 2018-04-26 15:45

this PKGBUILD tries to install a package named php-mcrypt which does not exist, rather than selecting an existing package that provides 'php-mcrypt'