LibreNMS is an autodiscovering 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.
LibreNMS has grown out of a lack of easy to configure network
monitoring platforms. It is intended to provide a more navigable
interface to the health and performance of your network. Its design
goals include collecting as much historical data about devices as
possible, being completely autodiscovered with little or no manual
intervention, and having a very intuitive interface.
===> The following configuration options are available for librenms-26.11.0,1:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
FPING=on: Enable fping support ping monitoring
IPMITOOL=on: Enable support for monitoring hardware IPMI
LIBVIRT=on: Virtualization support via libvirt
MYSQLD=off: Use local MySQL server
NAGPLUGINS=on: Plugins from nagios-plugins.org
NMAP=on: NMAP security scanning support
WMIC=on: Enable support for WMI polling
X11=off: X11 (graphics) support
===> Use 'make config' to modify these settings
Reason:
LibreNMS 26.6.0 bring in a sizeable refactor to the rrd processes.
A new configuration item is required for the font-cache directory.
Add this entry to $PREFIX/librenms.env
XDG_CACHE_HOME=/var/db/librenms/font-cache
2026-01-09
Affects: users of net-mgmt/librenms
Author: dvl@FreeBSD.org
Reason:
mysql-client is no longer a dependency. This allows users to select
mysql or mariadb at run time. This was not possible before.
2023-10-27
Affects: users of net-mgmt/librenms
Author: dvl@FreeBSD.org
Reason:
When updating to >= 23.10.0, a broken crontab is fixed. This breakage
caused the validation error: Scheduler is not running
After updating, If that error does not clear for you, run:
sudo lnms config:cache
2022-02-18
Affects: users of net-mgmt/librenms
Author: dvl@FreeBSD.org
Reason:
The storage directory has moved from WWWDIR to /var/db/librenms/storage
to comply with man 7 hier. When upgrading, you may need to manually create
this symlink.
net-mgmt/librenms: Remove sudo dependency
At one time it was required for running certain scripts.
Add an UPDATING entry.
While here, notice and correct the date for the previous entry
from d90f5893
Reported by: SgtMalicious
Tested by: me
˚¨# "Pull Request" and "Differential Revision" require the *full* GitHub or
net-mgmt/librenms: fix rc script restart race & log rotation
Please stop librenms service before updating. No harm will occur.
The value in the PID file changes from the service to the supervisor.
Behavior changes: "service librenms status" now reports the daemon(8)
supervisor PID instead of the python PID; log rotation now actually
re-opens the log file.
Upgrade note: an instance started with the previous rc script is
invisible to the new procname and still holds the pidfile lock. Stop
the service before upgrading, or SIGTERM the old supervisor (visible in
ps as "daemon: ..."), which cleanly terminates the child and removes
the pidfile.
PR: 298398
net-mgmt/librenms: Update to 26.6.0
re: https://github.com/librenms/librenms/releases/tag/26.6.0
This release requires a database update and a new configuration item
Add this entry to $PREFIX/librenms.env
XDG_CACHE_HOME=/var/db/librenms/font-cache
net-mgmt/librenms: Add patch for real-time graphs
This wasn't working in my install. Talked with librenms team and we
came up with this patch. Apply this now so that the upcoming quarterly
branch is correct.
re: https://github.com/librenms/librenms/pull/19280
net-mgmt/librenms: Allow for use of mariadb
Remove the run-time dependency upon a mysql client.
This update allows the mysql client to be removed and replaced by a
mariadb client.
PR: 292266
*/*: Introduction USES=sudo
A new uses 'sudo' has been added to transperently depends of the
proper flavor of sudo 'default' or 'sssd' depending on the default
version set by the user.
If you prefere to use 'sssd' flavor of sudo, add the following
to your make.conf:
DEFAULT_VERSIONS+=sudo=sssd
All sudo consummer ports has benn updated to USES=sudo
Reviewed by: 0mp
Approved by: mat
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D52160
net-mgmt/librenms: Add option for sudo@sssd
Let the user choose between sudo and sudo@sssd
sudo remains the default.
I now hear cries for doas support.
Soon, neither will be required.
net-mgmt/librenms: Update to 25.6.0
re: https://github.com/librenms/librenms/releases/tag/25.6.0
Migration required. I do that via:
sudo su -fm www
lnms migrate
pbin.sh has been removed from upstream app.
While here, remove a trailing space
net-mgmt/librenms: patch daily.sh with full paths
References to bash and php now use %%LOCALBASE%%
These errors seemed to cause the librenms service to fall over.
Solves these types of errors:
* /usr/local/www/librenms/daily.sh: line 30: php: command not found
* /usr/local/www/librenms/daily.sh: line 63: bash: command not found
net-mgmt/librenms: Update to 24.5.0
re: https://github.com/librenms/librenms/releases/tag/24.5.0
NOTE: the sample newsyslog.conf file will now:
* rotate /var/log/librenms/*.log instead of naming just two
* retain 14 days of logs, was 7
* not compress the log (if not ZFS, you want J, not -)
net-mgmt/librenms: Update to 24.4.0
re: https://github.com/librenms/librenms/releases/tag/24.4.0
While here, add a missing dep: sysutils/py-psutil
Also, note that the service is not starting up properly for me in a
jail. This may also affect non-jail hosts; I don't know. This is not
new to this release. Monitor /var/log/librenms/*.log and if you see
'Unable to launch a new process', then restart the service via:
service librenms restart
After that, all is well.
net-mgmt/librenms: Update to 24.2.0
re: https://github.com/librenms/librenms/releases/tag/24.2.0
This release works with php82 and php83 for me. The previous release
worked on php82, but not php83.
Adjust the pkg-message for so `lnms migrate` and `./validate.php` work
instead of saying you can't run this as root.
*/*: Cleanup php NOOP codes
There are some php modules which are by default installed and/or
statically linked in the default PHP installations and has no effect if
mentioned through USE_PHP. Remove those codes.
Also add comment for these cases like which extensions are required for
future references.
Approved by: portmgr (blanket)
net-mgmt/librenms: unbreak lnms
lnms insists upon lnms file is owned by root, it should be owned and ran
by a non-privileged user
Make it chown www because that's what the librenms service runs as.
I'm discussing a solution with upstream as to how to better fix this in
their code. The current solution allows the app to modify its own code.
net-mgmt/librenms: Fix start on FreeBSD 14/nginx
This may be a path issue or a shell issue, but nginx on FreeBSD 14
is not finding /usr/local/bin/php. The fix: use /usr/local/bin/php
as we have done with other patches.
PR: 274248
net-mgmt/librenms: remove /usr/bin/env usage
This problem occurred on Nginx, but not Apache. Instead of
"/usr/bin/env php", use "/usr/local/bin/php".
While here:
* add more to SHEBANG_FILES
* portfmnt
PR: 274248
net-mgmt/librenms: Update to 23.8.2
This port update includes a new cron job which launches the schedule
process. This is distinct from the librenms-service.py daemon recently
introduced and also from the previous poller script.
See /usr/local/etc/cron.d/librenms
This update also installs symlink between /usr/local/bin/lnms and
%%%WWWDIR%%/lnms - this script is used during upgrades and always had
permissions issues when run as non-root. The script attempts to enforce
Linux-specific permissions (e.g. www owned). This symlink satisfies a
validation check the code does.
This commited patches the validation check for lnms. The check assumes
/usr/local/bin is on the path but that is not the case when librenms is
running. Instead, just check that the symlink exists.
files/pkg-message.in - updated to reflect lnms symlink changes
re: https://github.com/librenms/librenms/releases/tag/23.8.2
These releases were skipped over:
* https://github.com/librenms/librenms/releases/tag/23.8.1
* https://github.com/librenms/librenms/releases/tag/23.8.0
net-mgmt/librenms: add many files to SHEBANG_FILES
While here, run portfmt over the Makefile - that accounts for the
majority of changes seen in the diff
patch LibreNMS/wrapper.py which contains "/usr/bin/env php" mid-file
PR: 260085
net-mgmt/librenms: Update to 23.5.0
re: https://github.com/librenms/librenms/releases/tag/23.5.0
* This update adds the readline PHP module as a RUN_DEPENDS
* This update installs a cronjob to etc/crontab.d/librenms
which runs every minute.
*/*: Remove merged or non-existent USE_PHP directives
- Remove USE_PHP=hash which is available in default php installation of
all versions of php
* security/pear-Horde_Crypt_Blowfish: Remove OPTION MHASH
- Remove USE_PHP=json which is available in default php installation of
all versions of php
* devel/pear-PHPTAL: Remove OPTION JSON
* www/ilias: Remove OPTION SCORM2004
- Remove USE_PHP=mssql which is no longer available in php from php80
and later and has been replaced with sqlsrv module which is Windows
only
* www/codeigniter: Remove OPTION MSSQL
* www/moodle311: Remove OPTION MSSQL
* www/moodle39: Remove OPTION MSSQL
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
net-mgmt/librenms: Update to 22.2.1
re: https://github.com/librenms/librenms/releases/tag/22.2.1
This port update skips over several releases.
See: https://github.com/librenms/librenms/releases
See UPDATING for details on storage directory which needs to
move to /var/db/librenms
LiberNMS wants to write to the %%WWWDIR%%/storage directory. To comply
with man 7 hier, this entry is now a symlink to /var/db/librenms/storage
Please adjust your filesystem accordingly.
The contrib directory has been removed from the upstream tarball. As such,
the port now installs the log rotation file to
/${PREFIX}/etc/newsyslog.conf.d/librenms.conf.sample
PR: 260085261031
framework: Add new USES 'magick' for graphics/ImageMagick*
A new USES has been added to depend on ImageMagick.
USES=magick
adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.
If a specific version is required, use for example
USES=magick:6 resp. USES=magick:7
If only a build, run or test is required, use for example
USES=magick:build resp. USES=magick:6,build,test
(Only the first 15 lines of the commit message are shown above )
net-mgmt/librenms: Clean up Makefile and use LOCALBASE
Good ideas, and I applied LOCALBASE to other pathes too. Thank you.
Reported by: otis
Differential Revision: https://reviews.freebsd.org/D30377
Update to 21.3.0
Upstream has changed their release number, but I don't think that will affect
us at all. It appears to follow year.month
I have sent some newly added patches upstream
(https://github.com/librenms/librenms/pull/12647) and they will be removed
from here on the next release.
This update jumps over 21.20, 21.1.0, & 17.0.1 for no reason.
While here, include a patch from an outstanding PR
PR: 252640
Submitted by: geoffroy desvernay <dgeo@centrale-marseille.fr>
Number of commits found: 164 (showing only 100 on this page)