mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add bad port settings to webui (#15649)
* Update manifest * update regex text * remove unused translations
This commit is contained in:
@@ -40,6 +40,7 @@ return [
|
||||
'general' => ['name' => 'General Discovery Settings'],
|
||||
'route' => ['name' => 'Routes Discovery Module'],
|
||||
'discovery_modules' => ['name' => 'Discovery Modules'],
|
||||
'ports' => ['name' => 'Ports Module'],
|
||||
'storage' => ['name' => 'Storage Module'],
|
||||
'networks' => ['name' => 'Networks'],
|
||||
],
|
||||
@@ -66,7 +67,6 @@ return [
|
||||
'rrdtool' => ['name' => 'Datastore: RRDTool'],
|
||||
'snmp' => ['name' => 'SNMP'],
|
||||
'poller_modules' => ['name' => 'Poller Modules'],
|
||||
'interface_types' => ['name' => 'Interface Type by RFC 7224'],
|
||||
],
|
||||
'system' => [
|
||||
'cleanup' => ['name' => 'Cleanup'],
|
||||
@@ -1086,9 +1086,21 @@ return [
|
||||
],
|
||||
],
|
||||
],
|
||||
'bad_if' => [
|
||||
'description' => 'Bad Interface Names',
|
||||
'help' => 'Network interface IF-MIB:!:ifName which should be ignored',
|
||||
],
|
||||
'bad_if_regexp' => [
|
||||
'description' => 'Bad Interface Name Regex',
|
||||
'help' => 'Network interface IF-MIB:!:ifName which should be ignored using regular expressions',
|
||||
],
|
||||
'bad_ifoperstatus' => [
|
||||
'description' => 'Bad Interface Operating Status',
|
||||
'help' => 'Network interface IF-MIB:!:ifOperStatus which should be ignored',
|
||||
],
|
||||
'bad_iftype' => [
|
||||
'description' => 'Bad Interfaces',
|
||||
'help' => 'Network Interface Types which should be ignored',
|
||||
'description' => 'Bad Interface Types',
|
||||
'help' => 'Network interface IF-MIB:!:ifType which should be ignored',
|
||||
],
|
||||
'ping' => [
|
||||
'description' => 'Path to ping',
|
||||
|
@@ -65,7 +65,6 @@ return [
|
||||
'rrdtool' => ['name' => 'Datastore: RRDTool'],
|
||||
'snmp' => ['name' => 'SNMP'],
|
||||
'poller_modules' => ['name' => 'Poller Modules'],
|
||||
'interface_types' => ['name' => 'Interface Type by RFC 7224'],
|
||||
],
|
||||
'system' => [
|
||||
'cleanup' => ['name' => 'Cleanup'],
|
||||
|
@@ -65,7 +65,6 @@ return [
|
||||
'rrdtool' => ['name' => 'Сховище даних: RRDTool'],
|
||||
'snmp' => ['name' => 'SNMP'],
|
||||
'poller_modules' => ['name' => 'Модулі опитувача'],
|
||||
'interface_types' => ['name' => 'Типи інтерфейсів за RFC 7224'],
|
||||
],
|
||||
'system' => [
|
||||
'cleanup' => ['name' => 'Очистка'],
|
||||
|
@@ -58,7 +58,6 @@ return [
|
||||
'rrdtool' => ['name' => 'RRDTool 設定'],
|
||||
'snmp' => ['name' => 'SNMP'],
|
||||
'poller_modules' => ['name' => '輪詢器模組'],
|
||||
'interface_types' => ['name' => 'RFC 7224 介面類型'],
|
||||
],
|
||||
'system' => [
|
||||
'cleanup' => ['name' => '清理'],
|
||||
|
@@ -851,6 +851,9 @@
|
||||
},
|
||||
"bad_if": {
|
||||
"type": "array",
|
||||
"group": "discovery",
|
||||
"section": "ports",
|
||||
"order": 0,
|
||||
"default": [
|
||||
"voip-null",
|
||||
"virtual-",
|
||||
@@ -878,16 +881,22 @@
|
||||
},
|
||||
"bad_if_regexp": {
|
||||
"type": "array",
|
||||
"group": "discovery",
|
||||
"section": "ports",
|
||||
"order": 1,
|
||||
"default": [
|
||||
"/^ng[0-9]+$/",
|
||||
"/^sl[0-9]/"
|
||||
]
|
||||
],
|
||||
"validate": {
|
||||
"value.*": "is_regex"
|
||||
}
|
||||
},
|
||||
"bad_iftype": {
|
||||
"type": "array",
|
||||
"group": "poller",
|
||||
"section": "interface_types",
|
||||
"order": 0,
|
||||
"group": "discovery",
|
||||
"section": "ports",
|
||||
"order": 3,
|
||||
"default": [
|
||||
"voiceEncap",
|
||||
"voiceFXO",
|
||||
@@ -907,6 +916,9 @@
|
||||
},
|
||||
"bad_ifoperstatus": {
|
||||
"type": "array",
|
||||
"group": "discovery",
|
||||
"section": "ports",
|
||||
"order": 4,
|
||||
"default": [
|
||||
"notPresent"
|
||||
]
|
||||
|
Reference in New Issue
Block a user