Closed mymaor89 closed 1 week 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.
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
Okay, that is strange. Two suggestions.
curl -v -k https://server1-OOB.acme.local/redfish/v1
After upgrading to iDrac 9 version 7 (February 2024 release) exporter stopped working
Server model: Dell PowerEdge R740xd
exporter fail with message:
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