There are two typo's in the default PHP included configuration:
$config['nmap'] = '/usr/localbin/nmap';
$config['nmap'] = '/usr/local/bin/nmap';
$config['mtr'] = '/usr/local/bin/mtr';
$config['mtr'] = '/usr/local/sbin/mtr';
Should the enry in .env
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:
Date: Sun Sep 2 14:06:55 UTC 2018
New revision: 478792
Correct paths for nmap and mtr in patch for includes/defaults.inc.php
Correct user in patch for .env.example
Submitted by: Dries Michiels <email@example.com>
Thank you for updating it to newest version!