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

Feature: support for SNMP sequences #942

Open
llamafilm opened this issue Aug 11, 2023 · 1 comment
Open

Feature: support for SNMP sequences #942

llamafilm opened this issue Aug 11, 2023 · 1 comment

Comments

@llamafilm
Copy link

I'd like to monitor SNMP data for an LED video wall. The wall is made of 72 "display units", each of which contains 12 "cells". Each cell reports its temperature, indexed by the Unit ID. Since the temperature is defined as a DisplayString, I use the following override to turn it into float:

    overrides:
      ledCellStatusTemperatureCell1:
        regex_extracts:
          '':
            - regex: '(.*)'
              value: '$1'

That works well, but I have to copy this 12 times in the generator. It would be nice for this app to parse sequences

What device/snmpwalk OID are you using?

Sony PROV1-LEDDISPLAY-MIB.txt 1.3.6.1.4.1.122.8501.3.128.13.1

@llamafilm
Copy link
Author

Another idea, which would avoid this issue: Could we automatically try to parse strings as floats, and fall back to string if it fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant