notbugIf you buy from Amazon USA, please support us by using this link.
Port details
librenms Autodiscovering PHP/MySQL/SNMP based network monitoring
1.45_1,1 net-mgmt on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 20 Jun 2015 08:10:10
License: GPLv3
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.

WWW: http://www.librenms.org
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (3 items)
  1. /usr/local/share/licenses/librenms-1.45_1,1/catalog.mk
  2. /usr/local/share/licenses/librenms-1.45_1,1/LICENSE
  3. /usr/local/share/licenses/librenms-1.45_1,1/GPLv3
  4. Collapse this list.

To install the port: cd /usr/ports/net-mgmt/librenms/ && make install clean
To add the package: pkg install librenms

PKGNAME: librenms

distinfo:

TIMESTAMP = 1540995479
SHA256 (librenms-vendor-1.45.tar.gz) = 2c67feacbb448591528870d4c55448f8bcb804bdb1845902cdb2dc1b9f4846f3
SIZE (librenms-vendor-1.45.tar.gz) = 31718828
SHA256 (librenms-librenms-1.45_GH0.tar.gz) = b3365bf88c40c0ee098edbf2b34510e737f357c483560f04926775c4dea9954d
SIZE (librenms-librenms-1.45_GH0.tar.gz) = 30880140


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. python2.7 : lang/python27
  2. apxs : www/apache24
Runtime dependencies:
  1. rrdtool : databases/rrdtool
  2. dot : graphics/graphviz
  3. IPv4.php : net/pear-Net_IPv4@php72
  4. IPv6.php : net/pear-Net_IPv6@php72
  5. snmpget : net-mgmt/net-snmp
  6. bash : shells/bash
  7. sudo : security/sudo
  8. fping : net/fping
  9. ipmitool : sysutils/ipmitool
  10. virsh : devel/libvirt
  11. check_nagios : net-mgmt/nagios-plugins
  12. nmap : security/nmap
  13. py27-MySQLdb>=1.2.3 : databases/py-MySQLdb@py27
  14. wmic : net-mgmt/wmi-client
  15. Magick-config : graphics/ImageMagick6-nox11
  16. mtr : net/mtr-nox11
  17. python2.7 : lang/python27
  18. php.h : lang/php72
  19. apxs : www/apache24
  20. libphp7.so : www/mod_php72
  21. ctype.so : textproc/php72-ctype
  22. curl.so : ftp/php72-curl
  23. filter.so : security/php72-filter
  24. gd.so : graphics/php72-gd
  25. hash.so : security/php72-hash
  26. json.so : devel/php72-json
  27. ldap.so : net/php72-ldap
  28. mbstring.so : converters/php72-mbstring
  29. mysqli.so : databases/php72-mysqli
  30. openssl.so : security/php72-openssl
  31. pdo.so : databases/php72-pdo
  32. pdo_mysql.so : databases/php72-pdo_mysql
  33. posix.so : sysutils/php72-posix
  34. session.so : www/php72-session
  35. simplexml.so : textproc/php72-simplexml
  36. snmp.so : net-mgmt/php72-snmp
  37. tokenizer.so : devel/php72-tokenizer
  38. xml.so : textproc/php72-xml
  39. zip.so : archivers/php72-zip
Library dependencies:
  1. libmysqlclient.so.18 : databases/mysql56-client
There are no ports dependent upon this port

Configuration Options
===> The following configuration options are available for librenms-1.45_1,1:
     APACHEMOD=on: Use PHP with Apache 2.2+ module
     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
     PYPOLLER=on: Enable Python Poller Wrapper
     WMIC=on: Enable support for WMI polling
     X11=off: X11 (graphics) support
===> Use 'make config' to modify these settings

USES:
python:2.7 shebangfix php:mod mysql:client

Master Sites:
  1. https://codeload.github.com/librenms/librenms/tar.gz/1.45?dummy=/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2018-09-01
    Affects: net-mgmt/librenms
    Author: dvl@FreeBSD.org
    Reason: 
      As of version 1.42, to conform with man hier, logs and rrd files have 
      relocated outside the WWW directory. When upgrading from < 1.42 to more
      recent versions, the following steps are required.
    
      You must update config.php and manually relocate the rrd and log files.
      Before upgrading, please stop librenms,  update the configuration, and
      relocate the files.
    
      If you find graphs are not updating, fping >= 4.0 requires an IPv6
      address. Adding an IPv6 address should fix graphing.
    
      Please add these entries to config.php:
    
      $config['installed_from_package'] = true;
      $config['log_dir'] = '/var/log/librenms';
      $config['rrd_dir'] = '/var/db/librenms/rrd';
    
      To relocate the files:
    
      mkdir /var/log/librenms /var/db/librenms
      chown www:ww: /var/log/librenms /var/db/librenms
      cd /usr/local/www/librenms
      mv rrd /var/db/librenms/
      mv logs/librenms.log /var/log/librenms/
      rmdir logs
    
      An application key is required. Please follow these steps to generate it:
    
      cd /usr/local/www/librenms
      cp -i .env.sample .env
    
      You might need to set your database details in that file.
      Then run:
    
      php artisan key:generate
    
      The output should look something like this:
    
      **************************************
      *     Application In Production!     *
      **************************************
    
       Do you really wish to run this command? (yes/no) [no]:
       > y
    
      Application key [base64:P62La9V........qw=] set successfully.
     
    
    
  • 2017-01-15
    Affects: users of net-mgmt/librenms
    Author: dvl@FreeBSD.org
    Reason: 
      The following is recommended for /var/db/mysql/my.cnf
    
      NOTE: these are global settings.  Please read this first:
    
      http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html
    
      [mysqld]
      innodb_file_per_table=1
      sql-mode=""
    
    

Number of commits found: 35

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
10 Nov 2018 19:57:08
Original commit files touched by this commit  1.45_1,1
Revision:484640
kwm search for other commits by this committer
Update ImageMagick to 6.9.10.14 [1]

* Add PKGNAMESUFFIX and rename the directory. This was done to show
  that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.

Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.

Chase these changes in all the ports that using IM6.

PR:		225102 (based on, only the version update) [1]
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
08 Nov 2018 13:32:09
Original commit files touched by this commit  1.45,1
Revision:484452
dvl search for other commits by this committer
Upgrade to 1.45

https://github.com/librenms/librenms/releases/tag/1.45

* remove mcrypt from depends (no longer used)
* add pdo_mysql (long required but not included)
* remove lib from ROOT_DIRS
* mention sql-mode="" is no longer required
* Make ./validate.php work from a package

PR:		232658
Approved by:	maintainer timeout (14 days)
02 Sep 2018 14:06:54
Original commit files touched by this commit  1.43_1,1
Revision:478792
dvl search for other commits by this committer
Correct paths for nmap and mtr in patch for includes/defaults.inc.php
Correct user in patch for .env.example

PR:		231089
Submitted by:	Dries Michiels <driesm.michiels@gmail.com>
01 Sep 2018 20:42:41
Original commit files touched by this commit  1.43,1
Revision:478726
dvl search for other commits by this committer
Upgrade to 1.43

While here, fix a bug in the files/patch-includes_common.php where the
variables for PORTVERSION & RELEASE_TIMESTAMP were not present.

Approved by:	maintainer (via private email)
01 Sep 2018 19:02:13
Original commit files touched by this commit  1.42.01,1
Revision:478715
dvl search for other commits by this committer
Upgrade to 1.42.01

Approved by:	maintainer (via private email)
Differential Revision:	https://reviews.freebsd.org/D16942
22 May 2018 13:15:13
Original commit files touched by this commit  1.35,1
Revision:470610
mat search for other commits by this committer
Add PY_FLAVOR to Python module dependencies.

Sponsored by:	Absolight
08 Mar 2018 19:48:41
Original commit files touched by this commit  1.35,1
Revision:463917
mat search for other commits by this committer
Introduce PHP flavors.

  Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  flavored.  They will automatically get flavors (php56, php70, php71, php72)
  depending of the versions they support (set with IGNORE_WITH_PHP).  As a
  consequence, ports using USES=pear and USES=horde are also flavored.

PR:		226242
Submitted by:	mat
Exp-run by:	antoine
Approved by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14208
19 Jan 2018 14:26:19
Original commit files touched by this commit  1.35,1
Revision:459417
feld search for other commits by this committer
net-mgmt/librenms: Upstream re-rolled the distfile

Only change is the doc/General/Changelog.md file which *removed* the entry
for 1.35.
18 Jan 2018 20:47:19
Original commit files touched by this commit  1.35,1
Revision:459377
feld search for other commits by this committer
net-mgmt/librenms: Fix build

Leftover change crept into last commit

MFH:		2018Q1
18 Jan 2018 20:21:42
Original commit files touched by this commit  1.35,1
Revision:459372
feld search for other commits by this committer
net-mgmt/librenms: Update to 1.35, many improvements

Improvements:

-    All files should be owned root:wheel except logs and rrd which need to be
writable by the app
-    Add missing php posix extension
-    Do not install config.php by default. This breaks the install process which
won't run if this file exists
-    Clean up automatic PLIST creation: don't install .orig or .bak files, don't
add @dir as they aren't needed
-    Patch LibreNMS to make /validate/ page not produce warnings about files not
being writable (for git updates)
-    Remove the Updates validation check altogether as we won't be using git to
update
-    Patch the User validation check to only check the logs and rrd dir and
ensure the correct user owns them
-    Change the default user in the generated config to "www"
-    Patch the File Lock code to put the lock file in /tmp and not in the WWWDIR
which should not be writable
-    Update message in installer to use WWWDIR as suggested path for config.php
-    Use shebangfix instead of patch where applicable
-    Fix APACHEMOD port option and declaration of the USES=php

PR:		225161
MFH:		2018Q1
Differential Revision:	https://reviews.freebsd.org/D13907
08 Jan 2018 15:47:40
Original commit files touched by this commit  1.33.01_1,1
Revision:458431
mat search for other commits by this committer
databases/py-MySQLdb only supports Python 2, restrict ports that uses it.

Sponsored by:	Absolight
20 Nov 2017 23:33:37
Original commit files touched by this commit  1.33.01_1,1
Revision:454583
dvl search for other commits by this committer
Set path to rrdtool
20 Nov 2017 21:21:13
Original commit files touched by this commit  1.33.01,1
Revision:454581
dvl search for other commits by this committer
Upgrade to 1.33.01
11 Nov 2017 07:11:38
Original commit files touched by this commit  1.28,1
Revision:453953
antoine search for other commits by this committer
Fix the context of some patches so that they apply with stricter patch(1)

PR:		223545
With hat:	portmgr
06 Jun 2017 13:38:52
Original commit files touched by this commit  1.28,1
Revision:442762
bofh search for other commits by this committer
net-mgmt/librenms: Update version 1.26=>1.28

- Fixed an issue where services-wrapper wasn't working (by adding the PATH
  line to the crontab) [1]
- Fixed a permissions issue with some directories [1]
- Added patch to validate.php which allows it to work correctly
  (accidentally ommitted from previous commit) [1]

PR:		218608[1]
Submitted by:	freebsd@jonathanprice.org[1]
11 Apr 2017 22:11:39
Original commit files touched by this commit  1.26,1
Revision:438321
bofh search for other commits by this committer
net-mgmt/librenms: Update version 1.25=>1.26

- Fix validate.php
- Created logs dir, used by daily.php
- fixed daily.sh to use sudo (replaces GNU su command)
- made daily.sh executable
- Disabled update checks in daily.sh, as they try to use git
- Updated the username in config.php to www

PR:		218351
Submitted by:	freebsd@jonathanprice.org
11 Mar 2017 12:54:20
Original commit files touched by this commit  1.25,1
Revision:435901
bofh search for other commits by this committer
net-mgmt/librenms: Update version 1.24=>1.25
10 Mar 2017 13:06:23
Original commit files touched by this commit  1.24,1
Revision:435828
antoine search for other commits by this committer
Do not override USES when PACKAGE_BUILDING is set, this should fix the
failure reported by package builders
26 Feb 2017 11:01:41
Original commit files touched by this commit  1.24,1
Revision:434856
bofh search for other commits by this committer
net-mgmt/librenms: Update version 1.23=>1.24

- Add PHP 7.0 support [1]
- Pet portlint

PR:		213376[1]
Submitted by:	fredrik.eriksson@loopia.se[1]
16 Jan 2017 14:19:17
Original commit files touched by this commit  1.23_3,1
Revision:431648
dvl search for other commits by this committer
Add more detail about my.cnf changes

Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net>
16 Jan 2017 03:14:54
Original commit files touched by this commit  1.23_2,1
Revision:431614
dvl search for other commits by this committer
Add patches missing from previous commit.
Add note to pkg-message about my.cnf
Add not to UPGRADING about my.cnf
Bump PORTREVISION

Submitted by: Larry Rosenman <ler@FreeBSD.org>
15 Jan 2017 21:20:16
Original commit files touched by this commit  1.23_1,1
Revision:431600
dvl search for other commits by this committer
Upgrade to 1.23,1

Be sure to set the following in my.cnf:

[mysqld]
innodb_file_per_table=1
sql-mode=""
27 Jul 2016 20:42:46
Original commit files touched by this commit  201607
Revision:419196
bofh search for other commits by this committer
net-mgmt/librenms: Update version 201605=>201607
11 Jun 2016 18:42:57
Original commit files touched by this commit  201605
Revision:416740
bofh search for other commits by this committer
net-mgmt/librenms: Update version 201604=>201605
23 May 2016 20:35:01
Original commit files touched by this commit  201604_1
Revision:415742
amdmi3 search for other commits by this committer
Remove NLS, DOCS, EXAMPLES and IPV6 from OPTIONS_DEFAULT, they are enabled by
default anyway and don't need to be listed

Approved by:	portmgr blanket
19 May 2016 10:44:12
Original commit files touched by this commit  201604_1
Revision:415499
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [g-n]*

Approved by:	portmgr blanket
02 May 2016 16:08:56
Original commit files touched by this commit  201604_1
Revision:414458
zeising search for other commits by this committer
Update databases/rrdtool to 1.6.0

Most notably, this version of rrdtools.so is thread safe, so the
rrdtools_th.so library is removed.

Bump portrevision for depending ports due to shlib version bump.

For full changelog: http://oss.oetiker.ch/rrdtool/pub/CHANGES

Reviewed by:	kwm
Differential Revision:	D6168
22 Apr 2016 13:53:36
Original commit files touched by this commit  201604
Revision:413782
mat search for other commits by this committer
Remove ${PORTSDIR}/ from *_DEPENDS lines.

Sponsored by:	Absolight
15 Apr 2016 09:30:09
Original commit files touched by this commit  201604
Revision:413328
bofh search for other commits by this committer
net-mgmt/librenms: Update version 201601=>201604

- Fix circular dependency of x11 and nox11 [1]

PR:		208356 [1]
Submitted by:	daniel@blodan.se [1]
01 Apr 2016 14:16:20
Original commit files touched by this commit  201601
Revision:412348
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
01 Apr 2016 13:18:17
Original commit files touched by this commit  201601
Revision:412342
mat search for other commits by this committer
Fixup some whitespace at the beginning of lines problems.

With hat:	portmgr
Sponsored by:	Absolight
29 Jan 2016 19:00:52
Original commit files touched by this commit  201601
Revision:407492
dvl search for other commits by this committer
Upgrade to 201601
PR:             206298
Approved by:    maintainer(bofh)
19 Oct 2015 18:44:41
Original commit files touched by this commit  201510
Revision:399711
bofh search for other commits by this committer
net-mgmt/librenms: Update version 201509=>201510
15 Sep 2015 08:52:05
Original commit files touched by this commit  201509
Revision:396947
bofh search for other commits by this committer
net-mgmt/librenms: Update version 201506=>201509 [1]

- Correct the path of fping [1]
- Make proper use of OPTIONSNG

PR:		202938 [1]
Submitted by:	dvl [1]
Differential Revision:	https://reviews.freebsd.org/D3578 [1]
20 Jun 2015 08:10:00
Original commit files touched by this commit  201506
Revision:390151
bofh search for other commits by this committer
[NEW] net-mgmt/librenms: Autodiscovering PHP/MySQL/SNMP based network monitoring

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.

WWW: http://www.librenms.org

Number of commits found: 35

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
asterisk15Nov 14
asterisk16Nov 14
linux-flashplayerNov 13
kio-extrasNov 12
opensslNov 12
openjpeg*Nov 11
patch*Nov 11
libressl*Nov 10
libressl-devel*Nov 10
openssl-devel*Nov 10
openssl111*Nov 10
lighttpdNov 09
mariadb100-server*Nov 08
mariadb101-server*Nov 08
mariadb102-server*Nov 08

16 vulnerabilities affecting 150 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2018-11-14 17:55:03


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 35978
Broken 113
Deprecated 588
Ignore 378
Forbidden 3
Restricted 162
No CDROM 74
Vulnerable 39
Expired 8
Set to expire 561
Interactive 0
new 24 hours 6
new 48 hours8
new 7 days25
new fortnight51
new month148

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2018 Dan Langille. All rights reserved.