Tripplite console server (#16156)

* exclude triplite console servers

* add definition for tripplite console servers

* add test files

* renamed to lowercase

* add testdata

* add testdata

* disable poller and discery modules that do not apply to this device

* lo will always report empty values, so lets ignore it

* removed disabled poller modules
This commit is contained in:
Nicolas Berens 2024-07-18 01:15:03 +02:00 committed by GitHub
parent 97a13f6fe8
commit 512403a255
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 98 additions and 0 deletions

View File

@ -0,0 +1,3 @@
modules:
os:
sysDescr_regex: '/^TrippLite (?<hardware>[^ ,]+), .* Version (?<version>[^ ]+) .*/'

View File

@ -15,3 +15,6 @@ discovery:
-
sysObjectID:
- .1.3.6.1.4.1.850
sysObjectID_except:
- .1.3.6.1.4.1.850.1.5
- .1.3.6.1.4.1.850.1.7

View File

@ -0,0 +1,17 @@
os: trippliteconsole
text: 'TrippLite console server'
type: appliance
icon: tripplite
group: tripplite
over:
- { graph: device_bits, text: 'Device Traffic' }
- { graph: device_processor, text: 'CPU Usage' }
- { graph: device_mempool, text: 'Memory Usage' }
mib_dir: poweralert
discovery:
- sysObjectID:
- .1.3.6.1.4.1.850.1.5
- .1.3.6.1.4.1.850.1.7
bad_if:
- lo

View File

@ -0,0 +1,23 @@
{
"os": {
"discovery": {
"devices": [
{
"sysName": null,
"sysObjectID": ".1.3.6.1.4.1.850.1.5",
"sysDescr": "TrippLite B093-004-2E4U, Linux 3.10.0-uc0 armv7l, TrippLite/B093 Version 4.12.3 a5834656 -- Tue May 17 17:25:30 UTC 2022",
"sysContact": null,
"version": "4.12.3",
"hardware": "B093-004-2E4U",
"features": null,
"location": null,
"os": "trippliteconsole",
"type": "appliance",
"serial": null,
"icon": "tripplite.svg"
}
]
},
"poller": "matches discovery"
}
}

View File

@ -0,0 +1,23 @@
{
"os": {
"discovery": {
"devices": [
{
"sysName": null,
"sysObjectID": ".1.3.6.1.4.1.850.1.5",
"sysDescr": "TrippLite B093-004-2E4U, Linux 3.10.0-uc0 armv7l, TrippLite/B093 Version 4.12.3 a5834656 -- Tue May 17 17:25:30 UTC 2022",
"sysContact": null,
"version": "4.12.3",
"hardware": "B093-004-2E4U",
"features": null,
"location": null,
"os": "trippliteconsole",
"type": "appliance",
"serial": null,
"icon": "tripplite.svg"
}
]
},
"poller": "matches discovery"
}
}

View File

@ -0,0 +1,23 @@
{
"os": {
"discovery": {
"devices": [
{
"sysName": null,
"sysObjectID": ".1.3.6.1.4.1.850.1.7",
"sysDescr": "TrippLite B097-016, Linux 3.10.0-uc0 armv7l, TrippLite/B097 Version 4.12.3 a5834656 -- Tue May 17 17:25:30 UTC 2022",
"sysContact": null,
"version": "4.12.3",
"hardware": "B097-016",
"features": null,
"location": null,
"os": "trippliteconsole",
"type": "appliance",
"serial": null,
"icon": "tripplite.svg"
}
]
},
"poller": "matches discovery"
}
}

View File

@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|TrippLite B093-004-2E4U, Linux 3.10.0-uc0 armv7l, TrippLite/B093 Version 4.12.3 a5834656 -- Tue May 17 17:25:30 UTC 2022
1.3.6.1.2.1.1.2.0|6|.1.3.6.1.4.1.850.1.5

View File

@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|TrippLite B093-004-2E4U, Linux 3.10.0-uc0 armv7l, TrippLite/B093 Version 4.12.3 a5834656 -- Tue May 17 17:25:30 UTC 2022
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.850.1.5

View File

@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|TrippLite B097-016, Linux 3.10.0-uc0 armv7l, TrippLite/B097 Version 4.12.3 a5834656 -- Tue May 17 17:25:30 UTC 2022
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.850.1.7