snmp_exporter icon indicating copy to clipboard operation
snmp_exporter copied to clipboard

Add schleifenbauer PDU

Open Wqrld opened this issue 1 year ago • 4 comments

This patch adds support for Power Distribution Units from https://www.schleifenbauer.eu

I was able to successfully read out my PDU's into grafana. I hope this may be useful for others too.

Note: This query takes about one minute to run on my device, running into timeouts. Adding

    scrape_interval: 3m
    scrape_timeout: 2m

fixes this. I think this is an issue with many SNMP devices, so it might be an idea to add statements like these (with lower limits) to the readme example.

Wqrld avatar Jul 17 '24 19:07 Wqrld

Hi @Wqrld,

could you please provide the updated generator/generator.yml and add the needed mib files for this to work to the Makefile?

bastischubert avatar Jul 17 '24 19:07 bastischubert

The generator was also failing locally before adding my patch because of 404's, i had to rip those out of the makefile to generate this configuration.

Wqrld avatar Jul 17 '24 19:07 Wqrld

Hi @Wqrld,

could you please provide the updated generator/generator.yml and add the needed mib files for this to work to the Makefile?

I do not have the rights to those original mib files so i'm not sure if i'm allowed to add them. They were taken from https://docs.schleifenbauer.eu/?dir=Interfaces/SNMP If this is a hard requirement i'll send them an email for explicit permission

Wqrld avatar Jul 17 '24 19:07 Wqrld

Shouldn't be an issue to curl their public available mib files in the generator/Makefile

bastischubert avatar Jul 17 '24 19:07 bastischubert