Re: [prometheus-users] Generator snmp_exporter return error 500 in prometheus

2024-04-22 Thread Alexander Wilke
Is it possible the snmp.yml timeout is too Low? Scrape_co fig hast 1m but logs say 5s. Maybe you should try and Set timeout: 50s in SNMP.yml, too and retries: 0. Or retries: 3 and timeout: 15s. Ben Kochie schrieb am Dienstag, 16. April 2024 um 11:20:05 UTC+2: > I've got a new packet debugging

Re: [prometheus-users] Generator snmp_exporter return error 500 in prometheus

2024-04-16 Thread Ben Kochie
I've got a new packet debugging option that I've been working on: https://github.com/prometheus/snmp_exporter/pull/1157 On Tue, Apr 16, 2024 at 10:56 AM Nicolas wrote: > Hi again, > > So I confirm that the 1.3.6.1.2.1.1 doesn't work fine but I don't know > why... > > *debug.log* : > > > *214

Re: [prometheus-users] Generator snmp_exporter return error 500 in prometheus

2024-04-16 Thread Nicolas
Hi again, So I confirm that the 1.3.6.1.2.1.1 doesn't work fine but I don't know why... *debug.log* : *214 level=debug auth=cisco_v3 target=xx.xx.xx.xx module=arte_mib msg="Walking subtree" oid=1.3.6.1.2.1.1393 level=info auth=cisco_v3 target= xx.xx.xx.xx module=arte_mib msg="Error

Re: [prometheus-users] Generator snmp_exporter return error 500 in prometheus

2024-04-15 Thread Nicolas
I think i found something. It's the mib of SNMPv2-MIB : 1.3.6.1.2.1.1 which dosen't work fine in the generator. If I'm more precise and give the oid 1.2.6.2.1.1.1 it works for example. The other oids I put next *- 1.3.6.1.2.1.2.2- 1.3.6.1.2.1.31.1.1-

Re: [prometheus-users] Generator snmp_exporter return error 500 in prometheus

2024-04-15 Thread Nicolas
Hi Ben, Here the debug log, but they are strange too because with an snmwalk everything is fine. *debug log *: *Apr 15 22:56:20 prometheus01 snmp_exporter[16444]: ts=2024-04-15T20:56:20.905Z caller=collector.go:393 level=info auth=cisco_v3 target=* *xx.xx.xx.xx* * module=arte_mib msg="Error

Re: [prometheus-users] Generator snmp_exporter return error 500 in prometheus

2024-04-15 Thread Nicolas
Hi Ben, Here the debug log, but they are strange too because with an snmwalk everything is fine. *debug log *: *Apr 15 22:56:20 prometheus01 snmp_exporter[16444]: ts=2024-04-15T20:56:20.905Z caller=collector.go:393 level=info auth=cisco_v3 target=* *xx.xx.xx.xx* * module=arte_mib msg="Error

Re: [prometheus-users] Generator snmp_exporter return error 500 in prometheus

2024-04-15 Thread Nicolas
Nothing really relevant: *ts=2024-04-15T20:42:16.248Z caller=main.go:194 level=info msg="Starting snmp_exporter" version="(version=0.25.0, branch=HEAD, revision=9c42d6c874d479314e612bca69558c81f8e26287)" concurrency=1ts=2024-04-15T20:42:16.248Z caller=main.go:195 level=info

Re: [prometheus-users] Generator snmp_exporter return error 500 in prometheus

2024-04-15 Thread Ben Kochie
If you use `snmp_exporter --log.level=debug`, what do the logs say? On Mon, Apr 15, 2024 at 10:38 PM Nicolas wrote: > Hello, > I have a strange error and I hope you can help me, or maybe there is a > problem with the snmp_exporter generator in the latest version. > > I'm using snmp_exporter

[prometheus-users] Generator snmp_exporter return error 500 in prometheus

2024-04-15 Thread Nicolas
Hello, I have a strange error and I hope you can help me, or maybe there is a problem with the snmp_exporter generator in the latest version. I'm using snmp_exporter version 0.25.0 and prometheus My generator.yml file looks like this: *auths: cisco_v3:security_level: