Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powervault ME Sensors #15814

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

TheMysteriousX
Copy link
Contributor

Please give a short description what your pull request is for

DO NOT DELETE THE UNDERLYING TEXT

Please note

Please read this information carefully. You can run ./lnms dev:check to check your code before submitting.

  • Have you followed our code guidelines?
  • If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
  • If my Pull Request makes discovery/polling/yaml changes, I have added/updated test data.

Testers

If you would like to test this pull request then please run: ./scripts/github-apply <pr_id>, i.e ./scripts/github-apply 5926
After you are done testing, you can remove the changes with ./scripts/github-remove. If there are schema changes, you can ask on discord how to revert.

@PipoCanaja
Copy link
Contributor

Hi @TheMysteriousX
For all polling PHP code, you need to ensure that your are only changing the OIDs that your are expecting to change. If not, your code will apply for each and every OIDs that are currently polled. or will later be added.
Thx

@PipoCanaja PipoCanaja closed this Feb 10, 2024
@PipoCanaja PipoCanaja reopened this Feb 10, 2024
@PipoCanaja PipoCanaja added the Device 🖥️ New or added device support label Feb 10, 2024
@Jellyfrog
Copy link
Member

Any reason this can't be done in yaml?

@TheMysteriousX
Copy link
Contributor Author

You have to know in advance what type of sensor is at an OID to use YAML. The sensors presented are not tabulated - you have to poll it, then parse it to see what type of sensor you got.

@TheMysteriousX
Copy link
Contributor Author

This is good to go, thought there was an issue with discovery but it's down to a database column being too small.
I'll address that seperately.

The example this was duplicated from will be fixed in another PR
Copy link
Member

@murrant murrant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

99% sure this can be in yaml.
You use skip_values to reject everything not of the type for that sensor.

@TheMysteriousX
Copy link
Contributor Author

I'm going to need an example because I've found no documented way to parse descriptions with YAML.

@TheMysteriousX
Copy link
Contributor Author

I've tested it with skip values as you suggested, and on every poll there is a sensor update message logged for every single sensor as the sensor description changes.

Unless I've missed something, there's no support in simple template for what you're asking me to do:
https://github.com/librenms/librenms/blob/master/app/View/SimpleTemplate.php

All it supports are simple substitutions.

@murrant
Copy link
Member

murrant commented May 16, 2024

Wouldn't this work?

        current:
            data:
                -
                    oid: FCMGMT-MIB::connUnitSensorTable
                    value: FCMGMT-MIB::connUnitSensorMessage
                    num_oid: '.1.3.6.1.3.94.1.8.1.6.{{ $index }}'
                    descr: FCMGMT-MIB::connUnitSensorName
                    skip_values:
                        -
                            oid: FCMGMT-MIB::connUnitSensorCharacteristic
                            op: '!='
                            value: 6 # might be currentValue instead

@TheMysteriousX
Copy link
Contributor Author

The device does not produce a value that is valid for YAML. You can't graph "24-port Expander, Right Sideplane: 43 C 109.40F".

Your example is essentially what I did, but it doesn't work due to the values needing to be parsed.

.*.*.*.*.*.*.0.0.1 = 1
.*.*.*.*.*.*.0.0.2 = 2
.*.*.*.*.*.*.0.0.3 = 3
.*.*.*.*.*.*.0.0.4 = 4
.*.*.*.*.*.*.0.0.5 = 5
.*.*.*.*.*.*.0.0.6 = 6
.*.*.*.*.*.*.0.0.7 = 7
.*.*.*.*.*.*.0.0.8 = 8
.*.*.*.*.*.*.0.0.9 = 9
.*.*.*.*.*.*.0.0.10 = 10
.*.*.*.*.*.*.0.0.11 = 11
.*.*.*.*.*.*.0.0.12 = 12
.*.*.*.*.*.*.0.0.13 = 13
.*.*.*.*.*.*.0.0.14 = 14
.*.*.*.*.*.*.0.0.15 = 15
.*.*.*.*.*.*.0.0.16 = 16
.*.*.*.*.*.*.0.0.17 = 17
.*.*.*.*.*.*.0.0.18 = 18
.*.*.*.*.*.*.0.0.19 = 19
.*.*.*.*.*.*.0.0.20 = 20
.*.*.*.*.*.*.0.0.21 = 21
.*.*.*.*.*.*.0.0.22 = 22
.*.*.*.*.*.*.0.0.23 = 23
.*.*.*.*.*.*.0.0.24 = 24
.*.*.*.*.*.*.0.0.25 = 25
.*.*.*.*.*.*.0.0.26 = 26
.*.*.*.*.*.*.0.0.27 = 27
.*.*.*.*.*.*.0.0.28 = 28
.*.*.*.*.*.*.0.0.29 = 29
.*.*.*.*.*.*.0.0.30 = 30
.*.*.*.*.*.*.0.0.31 = 31
.*.*.*.*.*.*.0.0.32 = 32
.*.*.*.*.*.*.0.0.33 = 33
.*.*.*.*.*.*.0.0.34 = 34
.*.*.*.*.*.*.0.0.35 = 35
.*.*.*.*.*.*.0.0.36 = 36
.*.*.*.*.*.*.0.0.37 = 37
.*.*.*.*.*.*.0.0.38 = 38
.*.*.*.*.*.*.0.0.39 = 39
.*.*.*.*.*.*.0.0.40 = 40
.*.*.*.*.*.*.0.0.41 = 41
.*.*.*.*.*.*.0.0.42 = 42
.*.*.*.*.*.*.0.0.43 = 43
.*.*.*.*.*.*.0.0.44 = 44
.*.*.*.*.*.*.0.0.45 = 45
.*.*.*.*.*.*.0.0.46 = 46
.*.*.*.*.*.*.0.0.47 = 47
.*.*.*.*.*.*.0.0.48 = 48
.*.*.*.*.*.*.0.0.49 = 49
.*.*.*.*.*.*.0.0.50 = 50
.*.*.*.*.*.*.0.0.51 = 51
.*.*.*.*.*.*.0.0.52 = 52
.*.*.*.*.*.*.0.0.53 = 53
.*.*.*.*.*.*.0.0.54 = 54
.*.*.*.*.*.*.0.0.55 = 55
.*.*.*.*.*.*.0.0.56 = 56
.*.*.*.*.*.*.0.0.57 = 57
.*.*.*.*.*.*.0.0.1 = "CPU Temperature-Ctlr B"
.*.*.*.*.*.*.0.0.2 = "Capacitor Pack Temperature-Ctlr B"
.*.*.*.*.*.*.0.0.3 = "Expander Temperature-Ctlr B"
.*.*.*.*.*.*.0.0.4 = "Disk Controller Temperature-Ctlr B"
.*.*.*.*.*.*.0.0.5 = "Host Left IOC Temperature-Ctlr B"
.*.*.*.*.*.*.0.0.6 = "CPU Temperature-Ctlr A"
.*.*.*.*.*.*.0.0.7 = "Capacitor Pack Temperature-Ctlr A"
.*.*.*.*.*.*.0.0.8 = "Expander Temperature-Ctlr A"
.*.*.*.*.*.*.0.0.9 = "Disk Controller Temperature-Ctlr A"
.*.*.*.*.*.*.0.0.10 = "Host Left IOC Temperature-Ctlr A"
.*.*.*.*.*.*.0.0.11 = "Capacitor Pack Voltage-Ctlr B"
.*.*.*.*.*.*.0.0.12 = "Capacitor Cell 1 Voltage-Ctlr B"
.*.*.*.*.*.*.0.0.13 = "Capacitor Cell 2 Voltage-Ctlr B"
.*.*.*.*.*.*.0.0.14 = "Capacitor Cell 3 Voltage-Ctlr B"
.*.*.*.*.*.*.0.0.15 = "Capacitor Cell 4 Voltage-Ctlr B"
.*.*.*.*.*.*.0.0.16 = "Capacitor Pack Voltage-Ctlr A"
.*.*.*.*.*.*.0.0.17 = "Capacitor Cell 1 Voltage-Ctlr A"
.*.*.*.*.*.*.0.0.18 = "Capacitor Cell 2 Voltage-Ctlr A"
.*.*.*.*.*.*.0.0.19 = "Capacitor Cell 3 Voltage-Ctlr A"
.*.*.*.*.*.*.0.0.20 = "Capacitor Cell 4 Voltage-Ctlr A"
.*.*.*.*.*.*.0.0.21 = "Capacitor Charge-Ctlr B"
.*.*.*.*.*.*.0.0.22 = "Capacitor Charge-Ctlr A"
.*.*.*.*.*.*.0.0.23 = "Overall Unit Status"
.*.*.*.*.*.*.0.0.24 = "SBB IOM Inlet Temperature Loc: lower-IOM B"
.*.*.*.*.*.*.0.0.25 = "Expander Internal Temperature Loc: lower-IOM B"
.*.*.*.*.*.*.0.0.26 = "SBB IOM Inlet Temperature Loc: upper-IOM A"
.*.*.*.*.*.*.0.0.27 = "Expander Internal Temperature Loc: upper-IOM A"
.*.*.*.*.*.*.0.0.28 = "Temperature Inlet Loc: right-PSU"
.*.*.*.*.*.*.0.0.29 = "Temperature Hotspot Loc: right-PSU"
.*.*.*.*.*.*.0.0.30 = "Temperature Inlet Loc: left-PSU"
.*.*.*.*.*.*.0.0.31 = "Temperature Hotspot Loc: left-PSU"
.*.*.*.*.*.*.0.0.32 = "Front-Right Baseplane Temp Loc: Drawer"
.*.*.*.*.*.*.0.0.33 = "Middle-Left Baseplane Temp Loc: Drawer"
.*.*.*.*.*.*.0.0.34 = "Rear-Left Baseplane Temp Loc: Drawer"
.*.*.*.*.*.*.0.0.35 = "Rear-Right Baseplane Temp Loc: Drawer"
.*.*.*.*.*.*.0.0.36 = "Front-Right Baseplane Temp Loc: Drawer"
.*.*.*.*.*.*.0.0.37 = "Middle-Left Baseplane Temp Loc: Drawer"
.*.*.*.*.*.*.0.0.38 = "Rear-Left Baseplane Temp Loc: Drawer"
.*.*.*.*.*.*.0.0.39 = "Rear-Right Baseplane Temp Loc: Drawer"
.*.*.*.*.*.*.0.0.40 = "24-port Expander, Right Sideplane"
.*.*.*.*.*.*.0.0.41 = "36-port Expander, Right Sideplane"
.*.*.*.*.*.*.0.0.42 = "24-port Expander, Left Sideplane"
.*.*.*.*.*.*.0.0.43 = "36-port Expander, Left Sideplane"
.*.*.*.*.*.*.0.0.44 = "Ambient Temp, Left Sideplane"
.*.*.*.*.*.*.0.0.45 = "24-port Expander, Right Sideplane"
.*.*.*.*.*.*.0.0.46 = "36-port Expander, Right Sideplane"
.*.*.*.*.*.*.0.0.47 = "24-port Expander, Left Sideplane"
.*.*.*.*.*.*.0.0.48 = "36-port Expander, Left Sideplane"
.*.*.*.*.*.*.0.0.49 = "Ambient Temp, Left Sideplane"
.*.*.*.*.*.*.0.0.50 = "Voltage 12V Rail Loc: right-PSU"
.*.*.*.*.*.*.0.0.51 = "Voltage 5V Rail Loc: right-PSU"
.*.*.*.*.*.*.0.0.52 = "Voltage 12V Rail Loc: left-PSU"
.*.*.*.*.*.*.0.0.53 = "Voltage 5V Rail Loc: left-PSU"
.*.*.*.*.*.*.0.0.54 = "Current 12V Rail Loc: right-PSU"
.*.*.*.*.*.*.0.0.55 = "Current 5V Rail Loc: right-PSU"
.*.*.*.*.*.*.0.0.56 = "Current 12V Rail Loc: left-PSU"
.*.*.*.*.*.*.0.0.57 = "Current 5V Rail Loc: left-PSU"
.*.*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*.*.*.*.0.0.33 = ""
.*.*.*.*.*.*.0.0.34 = ""
.*.*.*.*.*.*.0.0.35 = ""
.*.*.*.*.*.*.0.0.36 = ""
.*.*.*.*.*.*.0.0.37 = ""
.*.*.*.*.*.*.0.0.38 = ""
.*.*.*.*.*.*.0.0.39 = ""
.*.*.*.*.*.*.0.0.40 = ""
.*.*.*.*.*.*.0.0.41 = ""
.*.*.*.*.*.*.0.0.42 = ""
.*.*.*.*.*.*.0.0.43 = ""
.*.*.*.*.*.*.0.0.44 = ""
.*.*.*.*.*.*.0.0.45 = ""
.*.*.*.*.*.*.0.0.46 = ""
.*.*.*.*.*.*.0.0.47 = ""
.*.*.*.*.*.*.0.0.48 = ""
.*.*.*.*.*.*.0.0.49 = ""
.*.*.*.*.*.*.0.0.50 = ""
.*.*.*.*.*.*.0.0.51 = ""
.*.*.*.*.*.*.0.0.52 = ""
.*.*.*.*.*.*.0.0.53 = ""
.*.*.*.*.*.*.0.0.54 = ""
.*.*.*.*.*.*.0.0.55 = ""
.*.*.*.*.*.*.0.0.56 = ""
.*.*.*.*.*.*.0.0.57 = ""
.*.*.*.*.*.*.0.0.1 = "CPU Temperature-Ctlr B: 60 C 140.00F"
.*.*.*.*.*.*.0.0.2 = "Capacitor Pack Temperature-Ctlr B: 37 C 98.60F"
.*.*.*.*.*.*.0.0.3 = "Expander Temperature-Ctlr B: 63 C 145.40F"
.*.*.*.*.*.*.0.0.4 = "Disk Controller Temperature-Ctlr B: 68 C 154.40F"
.*.*.*.*.*.*.0.0.5 = "Host Left IOC Temperature-Ctlr B: 51 C 123.80F"
.*.*.*.*.*.*.0.0.6 = "CPU Temperature-Ctlr A: 63 C 145.40F"
.*.*.*.*.*.*.0.0.7 = "Capacitor Pack Temperature-Ctlr A: 37 C 98.60F"
.*.*.*.*.*.*.0.0.8 = "Expander Temperature-Ctlr A: 61 C 141.80F"
.*.*.*.*.*.*.0.0.9 = "Disk Controller Temperature-Ctlr A: 62 C 143.60F"
.*.*.*.*.*.*.0.0.10 = "Host Left IOC Temperature-Ctlr A: 53 C 127.40F"
.*.*.*.*.*.*.0.0.11 = "Capacitor Pack Voltage-Ctlr B: 8.14V"
.*.*.*.*.*.*.0.0.12 = "Capacitor Cell 1 Voltage-Ctlr B: 2.03V"
.*.*.*.*.*.*.0.0.13 = "Capacitor Cell 2 Voltage-Ctlr B: 2.02V"
.*.*.*.*.*.*.0.0.14 = "Capacitor Cell 3 Voltage-Ctlr B: 2.07V"
.*.*.*.*.*.*.0.0.15 = "Capacitor Cell 4 Voltage-Ctlr B: 2.01V"
.*.*.*.*.*.*.0.0.16 = "Capacitor Pack Voltage-Ctlr A: 8.18V"
.*.*.*.*.*.*.0.0.17 = "Capacitor Cell 1 Voltage-Ctlr A: 2.04V"
.*.*.*.*.*.*.0.0.18 = "Capacitor Cell 2 Voltage-Ctlr A: 2.05V"
.*.*.*.*.*.*.0.0.19 = "Capacitor Cell 3 Voltage-Ctlr A: 2.07V"
.*.*.*.*.*.*.0.0.20 = "Capacitor Cell 4 Voltage-Ctlr A: 2.03V"
.*.*.*.*.*.*.0.0.21 = "Capacitor Charge-Ctlr B: 98%"
.*.*.*.*.*.*.0.0.22 = "Capacitor Charge-Ctlr A: 98%"
.*.*.*.*.*.*.0.0.23 = "Overall Unit Status: OK"
.*.*.*.*.*.*.0.0.24 = "SBB IOM Inlet Temperature Loc: lower-IOM B: 41 C 105.80F"
.*.*.*.*.*.*.0.0.25 = "Expander Internal Temperature Loc: lower-IOM B: 63 C 145.40F"
.*.*.*.*.*.*.0.0.26 = "SBB IOM Inlet Temperature Loc: upper-IOM A: 38 C 100.40F"
.*.*.*.*.*.*.0.0.27 = "Expander Internal Temperature Loc: upper-IOM A: 61 C 141.80F"
.*.*.*.*.*.*.0.0.28 = "Temperature Inlet Loc: right-PSU: 39 C 102.20F"
.*.*.*.*.*.*.0.0.29 = "Temperature Hotspot Loc: right-PSU: 41 C 105.80F"
.*.*.*.*.*.*.0.0.30 = "Temperature Inlet Loc: left-PSU: 34 C 93.20F"
.*.*.*.*.*.*.0.0.31 = "Temperature Hotspot Loc: left-PSU: 51 C 123.80F"
.*.*.*.*.*.*.0.0.32 = "Front-Right Baseplane Temp Loc: Drawer: 24 C 75.20F"
.*.*.*.*.*.*.0.0.33 = "Middle-Left Baseplane Temp Loc: Drawer: 29 C 84.20F"
.*.*.*.*.*.*.0.0.34 = "Rear-Left Baseplane Temp Loc: Drawer: 34 C 93.20F"
.*.*.*.*.*.*.0.0.35 = "Rear-Right Baseplane Temp Loc: Drawer: 34 C 93.20F"
.*.*.*.*.*.*.0.0.36 = "Front-Right Baseplane Temp Loc: Drawer: 24 C 75.20F"
.*.*.*.*.*.*.0.0.37 = "Middle-Left Baseplane Temp Loc: Drawer: 29 C 84.20F"
.*.*.*.*.*.*.0.0.38 = "Rear-Left Baseplane Temp Loc: Drawer: 33 C 91.40F"
.*.*.*.*.*.*.0.0.39 = "Rear-Right Baseplane Temp Loc: Drawer: 34 C 93.20F"
.*.*.*.*.*.*.0.0.40 = "24-port Expander, Right Sideplane: 43 C 109.40F"
.*.*.*.*.*.*.0.0.41 = "36-port Expander, Right Sideplane: 58 C 136.40F"
.*.*.*.*.*.*.0.0.42 = "24-port Expander, Left Sideplane: 42 C 107.60F"
.*.*.*.*.*.*.0.0.43 = "36-port Expander, Left Sideplane: 56 C 132.80F"
.*.*.*.*.*.*.0.0.44 = "Ambient Temp, Left Sideplane: 26 C 78.80F"
.*.*.*.*.*.*.0.0.45 = "24-port Expander, Right Sideplane: 43 C 109.40F"
.*.*.*.*.*.*.0.0.46 = "36-port Expander, Right Sideplane: 58 C 136.40F"
.*.*.*.*.*.*.0.0.47 = "24-port Expander, Left Sideplane: 44 C 111.20F"
.*.*.*.*.*.*.0.0.48 = "36-port Expander, Left Sideplane: 55 C 131.00F"
.*.*.*.*.*.*.0.0.49 = "Ambient Temp, Left Sideplane: 25 C 77.00F"
.*.*.*.*.*.*.0.0.50 = "Voltage 12V Rail Loc: right-PSU: 12.42V"
.*.*.*.*.*.*.0.0.51 = "Voltage 5V Rail Loc: right-PSU: 5.27V"
.*.*.*.*.*.*.0.0.52 = "Voltage 12V Rail Loc: left-PSU: 12.46V"
.*.*.*.*.*.*.0.0.53 = "Voltage 5V Rail Loc: left-PSU: 5.27V"
.*.*.*.*.*.*.0.0.54 = "Current 12V Rail Loc: right-PSU: 39.10A"
.*.*.*.*.*.*.0.0.55 = "Current 5V Rail Loc: right-PSU: 0.11A"
.*.*.*.*.*.*.0.0.56 = "Current 12V Rail Loc: left-PSU: 28.55A"
.*.*.*.*.*.*.0.0.57 = "Current 5V Rail Loc: left-PSU: 0.03A"
.*.*.*.*.*.*.0.0.1 = 8
.*.*.*.*.*.*.0.0.2 = 8
.*.*.*.*.*.*.0.0.3 = 8
.*.*.*.*.*.*.0.0.4 = 8
.*.*.*.*.*.*.0.0.5 = 8
.*.*.*.*.*.*.0.0.6 = 8
.*.*.*.*.*.*.0.0.7 = 8
.*.*.*.*.*.*.0.0.8 = 8
.*.*.*.*.*.*.0.0.9 = 8
.*.*.*.*.*.*.0.0.10 = 8
.*.*.*.*.*.*.0.0.11 = 8
.*.*.*.*.*.*.0.0.12 = 8
.*.*.*.*.*.*.0.0.13 = 8
.*.*.*.*.*.*.0.0.14 = 8
.*.*.*.*.*.*.0.0.15 = 8
.*.*.*.*.*.*.0.0.16 = 8
.*.*.*.*.*.*.0.0.17 = 8
.*.*.*.*.*.*.0.0.18 = 8
.*.*.*.*.*.*.0.0.19 = 8
.*.*.*.*.*.*.0.0.20 = 8
.*.*.*.*.*.*.0.0.21 = 8
.*.*.*.*.*.*.0.0.22 = 8
.*.*.*.*.*.*.0.0.23 = 7
.*.*.*.*.*.*.0.0.24 = 8
.*.*.*.*.*.*.0.0.25 = 8
.*.*.*.*.*.*.0.0.26 = 8
.*.*.*.*.*.*.0.0.27 = 8
.*.*.*.*.*.*.0.0.28 = 5
.*.*.*.*.*.*.0.0.29 = 5
.*.*.*.*.*.*.0.0.30 = 5
.*.*.*.*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 9
.*.*.*.*.*.*.0.0.19 = 9
.*.*.*.*.*.*.0.0.20 = 9
.*.*.*.*.*.*.0.0.21 = 2
.*.*.*.*.*.*.0.0.22 = 2
.*.*.*.*.*.*.0.0.23 = 1
.*.*.*.*.*.*.0.0.24 = 3
.*.*.*.*.*.*.0.0.25 = 3
.*.*.*.*.*.*.0.0.26 = 3
.*.*.*.*.*.*.0.0.27 = 3
.*.*.*.*.*.*.0.0.28 = 3
.*.*.*.*.*.*.0.0.29 = 3
.*.*.*.*.*.*.0.0.30 = 3
.*.*.*.*.*.*.0.0.31 = 3
.*.*.*.*.*.*.0.0.32 = 3
.*.*.*.*.*.*.0.0.33 = 3
.*.*.*.*.*.*.0.0.34 = 3
.*.*.*.*.*.*.0.0.35 = 3
.*.*.*.*.*.*.0.0.36 = 3
.*.*.*.*.*.*.0.0.37 = 3
.*.*.*.*.*.*.0.0.38 = 3
.*.*.*.*.*.*.0.0.39 = 3
.*.*.*.*.*.*.0.0.40 = 3
.*.*.*.*.*.*.0.0.41 = 3
.*.*.*.*.*.*.0.0.42 = 3
.*.*.*.*.*.*.0.0.43 = 3
.*.*.*.*.*.*.0.0.44 = 3
.*.*.*.*.*.*.0.0.45 = 3
.*.*.*.*.*.*.0.0.46 = 3
.*.*.*.*.*.*.0.0.47 = 3
.*.*.*.*.*.*.0.0.48 = 3
.*.*.*.*.*.*.0.0.49 = 3
.*.*.*.*.*.*.0.0.50 = 9
.*.*.*.*.*.*.0.0.51 = 9
.*.*.*.*.*.*.0.0.52 = 9
.*.*.*.*.*.*.0.0.53 = 9
.*.*.*.*.*.*.0.0.54 = 6
.*.*.*.*.*.*.0.0.55 = 6
.*.*.*.*.*.*.0.0.56 = 6
.*.*.*.*.*.*.0.0.57 = 6

Slightly broken formatting as snmp:walk doesn't actually print anything, despite walking successfully:

SNMP query failed. Exit Code: 0 Empty: false Bad String: No more variables left in this MIB View (It is past the end of the MIB tree)
SNMP command failed!
No more variables left in this MIB View (It is past the end of the MIB tree)
SNMP query failed. Exit Code: 0 Empty: false Bad String: No more variables left in this MIB View (It is past the end of the MIB tree)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Device 🖥️ New or added device support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants