Remove traceroute6, it is unused (#14019)

* Remove traceroute6, it is unused
LibreNMS just uses traceroute -6, which is supported on all supported OS, and then some.

* missed some items
This commit is contained in:
Tony Murray
2022-06-08 01:52:33 -05:00
committed by GitHub
parent 30da27256b
commit a63166dd0e
10 changed files with 2 additions and 31 deletions

View File

@@ -458,7 +458,7 @@ class Config
}
// make sure we have full path to binaries in case PATH isn't set
foreach (['fping', 'fping6', 'snmpgetnext', 'rrdtool', 'traceroute', 'traceroute6'] as $bin) {
foreach (['fping', 'fping6', 'snmpgetnext', 'rrdtool', 'traceroute'] as $bin) {
if (! is_executable(self::get($bin))) {
self::persist($bin, self::locateBinary($bin));
}

View File

@@ -210,13 +210,12 @@ under Device -> Edit -> Misc -> Disable ICMP Test? On
#### traceroute
LibreNMS uses traceroute / traceroute6 to record debug information
LibreNMS uses traceroute to record debug information
when a device is down due to icmp AND you have
`lnms config:set debug.run_trace true` set.
```bash
lnms config:set traceroute /usr/bin/traceroute
lnms config:set traceroute6 /usr/bin/traceroute6
```
#### SNMP

View File

@@ -5383,13 +5383,6 @@
"order": 13,
"type": "executable"
},
"traceroute6": {
"default": "traceroute6",
"group": "external",
"section": "binaries",
"order": 14,
"type": "executable"
},
"transit_descr": {
"default": ["transit"],
"type": "array",

View File

@@ -710,9 +710,6 @@ return [
'traceroute' => [
'description' => 'Pfad zu traceroute',
],
'traceroute6' => [
'description' => 'Pfad zu traceroute6',
],
'unix-agent' => [
'connection-timeout' => [
'description' => 'Unix-agent Verbindungstimeout',

View File

@@ -1471,9 +1471,6 @@ return [
'traceroute' => [
'description' => 'Path to traceroute',
],
'traceroute6' => [
'description' => 'Path to traceroute6',
],
'twofactor' => [
'description' => 'Two-Factor',
'help' => 'Allow users to activate and use Timebased (TOTP) or Counterbased (HOTP) One-Time Passwords (OTP)',

View File

@@ -908,9 +908,6 @@ return [
'traceroute' => [
'description' => 'Chemin vers `traceroute`',
],
'traceroute6' => [
'description' => 'Chemin vers `traceroute6`',
],
'unix-agent' => [
'connection-timeout' => [
'description' => 'Délai d\'attente de connexion Unix-agent',

View File

@@ -1459,9 +1459,6 @@ return [
'traceroute' => [
'description' => 'Path to traceroute',
],
'traceroute6' => [
'description' => 'Path to traceroute6',
],
'twofactor' => [
'description' => 'Two-Factor',
'help' => 'Allow users to activate and use Timebased (TOTP) or Counterbased (HOTP) One-Time Passwords (OTP)',

View File

@@ -1459,9 +1459,6 @@ return [
'traceroute' => [
'description' => 'Шлях до traceroute',
],
'traceroute6' => [
'description' => 'Шлях до traceroute6',
],
'twofactor' => [
'description' => 'Двохфакторна автентифікація',
'help' => 'Дозволяє користувачам активувати та використовувати Timebased (TOTP) або Counterbased (HOTP) одноразові паролі (OTP)',

View File

@@ -725,9 +725,6 @@ return [
'traceroute' => [
'description' => 'traceroute 路径',
],
'traceroute6' => [
'description' => 'traceroute6 路径',
],
'unix-agent' => [
'connection-timeout' => [
'description' => 'Unix-agent 联机逾时',

View File

@@ -890,9 +890,6 @@ return [
'traceroute' => [
'description' => 'traceroute 路徑',
],
'traceroute6' => [
'description' => 'traceroute6 路徑',
],
'twofactor' => [
'description' => '雙因素驗證',
'help' => '允許使用者啟用基於時間 (TOTP) 或基於雜湊訊息驗證 (HOTP) 的一次性密碼 (OTP)',