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

Monitoring: Improve labels for snmp-devices #1012

Open
FFHener opened this issue Oct 20, 2024 · 1 comment
Open

Monitoring: Improve labels for snmp-devices #1012

FFHener opened this issue Oct 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@FFHener
Copy link
Contributor

FFHener commented Oct 20, 2024

We currently use the OID .1.3.6.1.2.1.31.1.1.1.18 to get the labels of the ports. Unfortunantly I discovered that these labels exist for EdgeSwitch 10XP running 1.9.0 (latest), but not for EdgeSwitch 8XP running 2.2.1 (latest).

The only thing for labels I found at the first glance would be

IF-MIB::ifDescr.1 = STRING: Port 1
IF-MIB::ifDescr.2 = STRING: Port 2
[...]
IF-MIB::ifDescr.8 = STRING: Port 8
IF-MIB::ifDescr.11 = STRING: Management

which still might be an upgrade over the current thing defaulting to the Instance ID which would be 1 to 11.

I thing one path going forward could be to have one profile per device type which would require defining the explizit type in the config. Would be some work, but a nice preparation for furhter features like automated config for non-owrt-devices.

Another path could be to automate the snmp-Monitoring on the Grafana/Prometheus-Side - which would be an even bigger chunk of work. The first solution would enable us at least to go in smaller steps. Im happy for comments and opnions on this

@FFHener FFHener added the enhancement New feature or request label Oct 20, 2024
@Noki
Copy link
Member

Noki commented Oct 20, 2024

I think the way to go is to describe every device in a model file in group_vars and move everything device related there (SNMP / DFS-Reset) and have every device described as a host. Maybe we can design the group vars file it in a way to use a template for settings that can be described for a set of devices (SNMP for airOS 8, switchOS, ...) but even having explicit settings per device would be fine in my opinion. We might even be able to override only a small set of the settings from a template or add more specific settings.

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

No branches or pull requests

2 participants