mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Use relative path for fping6
fping6 will be in /usr/bin on Debian-based systems, but /usr/sbin on CentOS. Have PHP figure out where fping6 is, to avoid breaking existing setups on CentOS.
This commit is contained in:
@@ -46,7 +46,7 @@ $config['rrdtool'] = "/usr/bin/rrdtool";
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
$config['fping'] = "/usr/bin/fping";
|
$config['fping'] = "/usr/bin/fping";
|
||||||
$config['fping6'] = "/usr/bin/fping6";
|
$config['fping6'] = "fping6";
|
||||||
$config['fping_options']['retries'] = 3;
|
$config['fping_options']['retries'] = 3;
|
||||||
$config['fping_options']['timeout'] = 500;
|
$config['fping_options']['timeout'] = 500;
|
||||||
$config['fping_options']['count'] = 3;
|
$config['fping_options']['count'] = 3;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ $config['own_hostname'] = 'localhost';
|
|||||||
// Location of executables
|
// Location of executables
|
||||||
$config['rrdtool'] = '/usr/bin/rrdtool';
|
$config['rrdtool'] = '/usr/bin/rrdtool';
|
||||||
$config['fping'] = '/usr/bin/fping';
|
$config['fping'] = '/usr/bin/fping';
|
||||||
$config['fping6'] = '/usr/bin/fping6';
|
$config['fping6'] = 'fping6';
|
||||||
$config['fping_options']['retries'] = 3;
|
$config['fping_options']['retries'] = 3;
|
||||||
$config['fping_options']['timeout'] = 500;
|
$config['fping_options']['timeout'] = 500;
|
||||||
$config['fping_options']['count'] = 3;
|
$config['fping_options']['count'] = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user