[prometheus-users] Prom Mailing list: Why "lint error 1 duplicate rule(s) found."?

2024-01-10 Thread 'Jason' via Prometheus Users
Hi Happy 2024 to all I get this error with "promtool check config" Checking xxx-winserver-rules.yml FAILED: lint error 1 duplicate rule(s) found. Those are my rules grep expr xxx-winserver-rules.yml expr: 100 - (avg by (instance)

[prometheus-users] Re: Blackbox exporter - add Header dynamically after First requests to server

2024-01-10 Thread 'Brian Candler' via Prometheus Users
No. For a linked sequence of HTTP exchanges, you'll need to write your own test script. You could, for example, write a Python script to do what you want, and emit some metrics when it's done. (Carrying state from one request to another can be done using the requests Session

[prometheus-users] Blackbox exporter - add Header dynamically after First requests to server

2024-01-10 Thread Alexander Wilke
Hello, i Connect with Blackbox exporter and http POST to an API. I Connect with body_file which contains credentials to Login and some other Parameters. The API answers with two Header sid: XYZ uid: ABC For further actions in the API I have to add These dynamic Headers to each requests. Is it

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

2024-01-10 Thread 'Brian Candler' via Prometheus Users
That's interesting, thanks! AES192C and AES256C are clearly present in the code , but the documentation in generator/README.md omits to mention them. >From gosnmp's source (v3_usm.go): // Changed: AES192,

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

2024-01-10 Thread Alexander Wilke
If you use Cisco devices then you have to use a "C" at the end of the privacy protocol because it seems Cisco has specific impelementation. I use *priv_protocol: AES256C* for Cisco IOS and IOS XE devices running 17.x.y version. Brian Candler schrieb am Mittwoch, 10. Januar 2024 um 12:32:08

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

2024-01-10 Thread 'Brian Candler' via Prometheus Users
> Please list the SNMP V3 instance configuration in generator.yml. I want to know where the configuration error is! It's in the documentation: https://github.com/prometheus/snmp_exporter/blob/main/generator/README.md#file-format However, you don't need to compile anything to get started. Just

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

2024-01-10 Thread Awemnhd
I tried using snmp_exporter-0.25.0, using SNMP v3 mode, SHA and AES still not successful, and I have to recompile the generator.yml file, otherwise using the default snmp.yml file will have no effect! Please list the SNMP V3 instance configuration in generator.yml. I want to know where the

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

2024-01-10 Thread 'Brian Candler' via Prometheus Users
If the scrape job is removing duplicate targets, then try giving them distinct labels as I originally suggested: - labels: subinstance: 1 targets: - pfsense.oberndorf.ca:443 - labels: subinstance: 2 targets: - pfsense.oberndorf.ca:443

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

2024-01-10 Thread 'Brian Candler' via Prometheus Users
https://pkg.go.dev/crypto/tls#Config // CipherSuites is a list of enabled TLS 1.0–1.2 cipher suites. The order of // the list is ignored. Note that TLS 1.3 ciphersuites are not configurable. // // *If CipherSuites is nil, a safe default list is used.* The default cipher // suites might change