Filter Ports out by Interface Type (#12590)

* Filter Ports +out by Interface Type

* style fix

* style fix

* .

* .

* change code

* .

* move filter to main filter function

* reduce to bad_iftype in settings
This commit is contained in:
SourceDoctor
2021-04-27 21:43:52 +02:00
committed by GitHub
parent f355b2a3b5
commit ea75435990
3 changed files with 9 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
"/css/app.css": "/css/app.css?id=996b9e3da0c3ab98067e",
"/js/vendor.js": "/js/vendor.js?id=54e44dd06cb8f6a3e6fe",
"/js/lang/de.js": "/js/lang/de.js?id=db973f6aaff0cda764c6",
"/js/lang/en.js": "/js/lang/en.js?id=db41698ef6dc5a662096",
"/js/lang/en.js": "/js/lang/en.js?id=1b381cf5180cf72bee65",
"/js/lang/fr.js": "/js/lang/fr.js?id=acd514ce666ebf45ef7b",
"/js/lang/it.js": "/js/lang/it.js?id=b28a63928155eeb4e2a1",
"/js/lang/ru.js": "/js/lang/ru.js?id=f6b7c078755312a0907c",

View File

@@ -703,6 +703,9 @@
},
"bad_iftype": {
"type": "array",
"group": "poller",
"section": "interface_types",
"order": 0,
"default": [
"voiceEncap",
"voiceFXO",

View File

@@ -63,6 +63,7 @@ return [
'rrdtool' => 'Datastore: RRDTool',
'snmp' => 'SNMP',
'poller_modules' => 'Poller Modules',
'interface_types' => 'Interface Type by RFC 7224',
],
'system' => [
'cleanup' => 'Cleanup',
@@ -968,6 +969,10 @@ return [
],
],
],
'bad_iftype' => [
'description' => 'Bad Interfaces',
'help' => 'Network Interface Types which should be ignored',
],
'ping' => [
'description' => 'Path to ping',
],