Bug#1032138: prometheus-snmp-exporter: generator doesn't honour snmp.conf, so it misses site-specific MIBs

2023-03-01 Thread Daniel Swarbrick
On 02.03.23 14:32, наб wrote: I had gotten p-s-g to work with just "orno" after posting, yes, but only because I was reading netsnmp_mib_api(3), and its "ENVIRONMENT VARIABLES" sexion notes MIBDIRS and MIBS, which appear to funxion à la /e/s/s.c mibdirs and mibs, so the invocation that I've gotte

Bug#1032138: prometheus-snmp-exporter: generator doesn't honour snmp.conf, so it misses site-specific MIBs

2023-03-01 Thread наб
On Thu, Mar 02, 2023 at 01:35:29PM +1300, Daniel Swarbrick wrote: > It looks kinda odd to me. I don't recall ever including the MIB name in the > list of objects to walk. Have you tried simply: Yes, that is also, weirdly, broken (inasmuch I personally expected any net-snmp OID spec you can put int

Bug#1032138: prometheus-snmp-exporter: generator doesn't honour snmp.conf, so it misses site-specific MIBs

2023-03-01 Thread Daniel Swarbrick
Ah, my mistake, I did not notice that you already included your generator.yml: modules:   orno_or_we_504_505_507:     walk:   - ORNO-MIB::orno It looks kinda odd to me. I don't recall ever including the MIB name in the list of objects to walk. Have you tried simply: modules:   orno_or_we

Bug#1032138: prometheus-snmp-exporter: generator doesn't honour snmp.conf, so it misses site-specific MIBs

2023-03-01 Thread Daniel Swarbrick
I don't currently use prometheus-snmp-exporter, however I have used it extensively in the past, and never encountered any problems with the generator loading third-party MIBs. Most maintainers (including myself) are currently focused on fixing bugs in the upcoming bookworm release, so unless y

Bug#1032138: prometheus-snmp-exporter: generator doesn't honour snmp.conf, so it misses site-specific MIBs

2023-02-28 Thread наб
Package: prometheus-snmp-exporter Version: 0.19.0+ds-1+b5 Severity: normal Dear Maintainer, Sorry for reporting for the bullseye version; tried to build a backport from Salsa (0.21.0-1), but that gave me -- >8 -- github.com/prometheus/client_golang/prometheus/promauto github.com/prometheus/common