mrlhansen / idrac_exporter

Simple iDRAC exporter for Prometheus
MIT License
123 stars 37 forks source link

Exporter stopped working after upgrading to iDrac 9 version 7 (Dell) #90

Closed mymaor89 closed 1 week ago

mymaor89 commented 1 month ago

After upgrading to iDrac 9 version 7 (February 2024 release) exporter stopped working

metrics: system: true # CONFIG_METRICS_SYSTEM=true sensors: true # CONFIG_METRICS_SENSORS=true power: true # CONFIG_METRICS_POWER=true events: true # CONFIG_METRICS_EVENTS=true storage: true # CONFIG_METRICS_STORAGE=true memory: true # CONFIG_METRICS_MEMORY=true network: true # CONFIG_METRICS_NETWORK=true

events: severity: warning # CONFIG_EVENTS_SEVERITY=warning maxage: 7d # CONFIG_EVENTS_MAXAGE=7d

mrlhansen commented 1 month ago

Hi @mymaor89

Can you try to run the exporter with the -verbose flag and send me the output from the log? That should tell us what URL is giving a bad request.

mymaor89 commented 1 month ago
2024-08-04T17:32:45.817 INFO  Build information: version=1.4.1 revision=05ee2e66aa6f6cb36593b67c832d01acf3e68751
2024-08-04T17:32:45.817 INFO  Server listening on 0.0.0.0:9348
2024-08-04T17:32:46.441 DEBUG Handling request from idrac_exporter:9348 for host server1-OOB.acme.local
2024-08-04T17:32:46.442 DEBUG Querying url "https://server1-OOB.acme.local/redfish/v1"
2024-08-04T17:32:46.558 DEBUG Query to url "https://server1-OOB.acme.local/redfish/v1" returned unexpected status code: 400 (400 Bad Request)
2024-08-04T17:32:46.559 ERROR Error instantiating metrics collector for host server1-OOB.acme.local: 400 400 Bad Request
mrlhansen commented 1 month ago

Okay, that is strange. Two suggestions.