There are two typo's in the default PHP included configuration: 1: $config['nmap'] = '/usr/localbin/nmap'; Should be $config['nmap'] = '/usr/local/bin/nmap'; 2: $config['mtr'] = '/usr/local/bin/mtr'; Should be $config['mtr'] = '/usr/local/sbin/mtr';
Also, Should the enry in .env LIBRENMS_USER=librenms not be LIBRENMS_USER=www as specified in config.php also?
(In reply to Dries Michiels from comment #0) Yes, those path corrections are appropriate. Did you discover this via visual inspection? Was LibreNMS producing an error?
(In reply to Dries Michiels from comment #1) Yes, I think so.
It was not producing an error altough I saw this through visual inspection of the recent commit to get it to 1.42 :)
A commit references this bug: Author: dvl Date: Sun Sep 2 14:06:55 UTC 2018 New revision: 478792 URL: https://svnweb.freebsd.org/changeset/ports/478792 Log: 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> Changes: head/net-mgmt/librenms/Makefile head/net-mgmt/librenms/files/patch-.env.example head/net-mgmt/librenms/files/patch-includes_defaults.inc.php
Thank you.
Thank you for updating it to newest version!