[prometheus-users] Re: Blackbox_Exporter 0.24.0 - probe endpoint every 15s with30s timeout ?

2024-01-09 Thread Alexander Wilke
Hello, it's only working partly I think. If I add the same target several times to the same job then prometheus treats targets with the exact naming as on. This results in one target on prometheus' webui target list and tcpdump confirms onle one scrape per 60s - targets: -

[prometheus-users] Re: prometheus 2.48.1 - web-config.yml - cipher_suites "unknown cipher"

2024-01-09 Thread Alexander Wilke
Hello Brian, thank you for investigation. I tried several ciphers some days ago. Every time I cut more and more ciphers from the cnfiguration but it did not work - probably because it were ciphers which are insecure. However for the first tyr I wanted to allow all and check if all exporters

[prometheus-users] Re: prometheus 2.48.1 - web-config.yml - cipher_suites "unknown cipher"

2024-01-09 Thread 'Brian Candler' via Prometheus Users
Only the first cipher you listed is rejected. The code in exporter_toolkit just iterates over tls.CipherSuites(): https://github.com/prometheus/exporter-toolkit/blob/v0.11.0/web/tls_config.go#L401-L407 which you can replicate like this: https://go.dev/play/p/yFl-V5MrGHh It turns out that

[prometheus-users] Re: snmp_exporter-0.20 cannot monitor SNMP V3?

2024-01-09 Thread 'Brian Candler' via Prometheus Users
> Why is SNMP v3 so difficult to implement? It's not. It's dead easy. Do you have a working snmpwalk command line which talks to your device? Then you just transfer the settings to your snmp_exporter configuration. This has been made easier since snmp_exporter v0.23.0

[prometheus-users] Re: Blackbox_Exporter 0.24.0 - probe endpoint every 15s with30s timeout ?

2024-01-09 Thread 'Brian Candler' via Prometheus Users
(Thinks: maybe it's *not* necessary to apply distinct labels? This feels wrong somehow, but I can't pinpoint exactly why it would be bad) On Tuesday 9 January 2024 at 14:43:51 UTC Brian Candler wrote: > Unfortunately, the timeout can't be longer than the scrape interval, > firstly because this

[prometheus-users] Re: Blackbox_Exporter 0.24.0 - probe endpoint every 15s with30s timeout ?

2024-01-09 Thread 'Brian Candler' via Prometheus Users
Unfortunately, the timeout can't be longer than the scrape interval, firstly because this would require overlapping scrapes, and secondly the results could be returned out-of-order: e.g. xx:yy:00 scrape 1: takes 25 seconds, gives result at xx:yy:25 xx:yy:15 scrape 2: takes 5 seconds, gives

[prometheus-users] Re: snmp_exporter 0.25.0 - IF-MIB and CISCO-IF-EXTENSION-MIB

2024-01-09 Thread 'Brian Candler' via Prometheus Users
For the first part, you should look at how ifTable and ifXTable are handled in the default generator.yml: if_mib: walk: [sysUpTime, interfaces, ifXTable] Note that you don't walk the individual columns, you walk the whole table. For the second part: (sysUpTime - on (instance)

[prometheus-users] Increase Prometheus Server Retention Period || Windows Server

2024-01-09 Thread Vivek Kumar Sinha
Hi Team, I got a request to increase retention period of already installed/running Prometheus server from default to 60 days. Platform: Windows Server Execution: NSSM Prometheus Start Batch FIle: nssm.exe install Prometheus D:\Observability\Prometheus\prometheus.exe "--web.listen-address=:9191"

[prometheus-users] snmp_exporter-0.20 cannot monitor SNMP V3?

2024-01-09 Thread Awemnhd
see https://github.com/prometheus/snmp_exporter/tree/main/generator#file-format Tried various ways to achieve some parameter passing username: security_level: password: SHA auth_protocol: AES priv_protocol: priv_password: As a result, when the service is started, the default access method is

[prometheus-users] Blackbox_Exporter 0.24.0 - probe endpoint every 15s with30s timeout ?

2024-01-09 Thread Alexander Wilke
Hello, I want to use blackbox_exporter and http prober to login to an API. My goal is to do the login every 15s which could be xx:yy:00 xx:yy:15 xx:yy:30 xx:yy:45 I could solve this with scrape_interval: 15s. But in addition I want to allow a scrape timeout of 30s which is longer than the

[prometheus-users] snmp_exporter 0.25.0 - IF-MIB and CISCO-IF-EXTENSION-MIB

2024-01-09 Thread Alexander Wilke
Hello, I am using snmp-exporter to monitor CISCO IOS and IOS-XE devices. However I have issues with merging the "IF-MIB" and "CISCO-IF-EXTENSION-MIB". IF-MIB provides information with the following labels: ifIndex ifName ifDescr ifAlias if I add the "CISCO-IF-EXTENSION-MIB" to the generator I

[prometheus-users] prometheus 2.48.1 - web-config.yml - cipher_suites "unknown cipher"

2024-01-09 Thread Alexander Wilke
Hello, I am running prometheus 2.48.1 and I have problems to find the correct syntax for the "cipher_suites" in web.config.yml file: https://cs.opensource.google/go/go/+/refs/tags/go1.21.5:src/crypto/tls/cipher_suites.go;l=656 https://pkg.go.dev/crypto/tls#CipherSuitesi web-config.yml