{"id":34207265,"url":"https://github.com/mrlhansen/idrac_exporter","last_synced_at":"2026-01-24T16:17:14.979Z","repository":{"id":43732556,"uuid":"265258032","full_name":"mrlhansen/idrac_exporter","owner":"mrlhansen","description":"Simple Redfish (iDRAC, iLO, XClarity) exporter for Prometheus","archived":false,"fork":false,"pushed_at":"2025-12-28T15:14:03.000Z","size":4000,"stargazers_count":242,"open_issues_count":3,"forks_count":71,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-12-31T03:59:48.569Z","etag":null,"topics":["bmc","idrac","ilo","prometheus","prometheus-exporter","redfish","xclarity"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrlhansen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-05-19T13:41:45.000Z","updated_at":"2025-12-28T15:14:06.000Z","dependencies_parsed_at":"2023-10-01T18:31:44.904Z","dependency_job_id":"5754a5bd-ff16-4ae6-8c8f-292c79cea1c6","html_url":"https://github.com/mrlhansen/idrac_exporter","commit_stats":null,"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"purl":"pkg:github/mrlhansen/idrac_exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlhansen%2Fidrac_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlhansen%2Fidrac_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlhansen%2Fidrac_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlhansen%2Fidrac_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrlhansen","download_url":"https://codeload.github.com/mrlhansen/idrac_exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlhansen%2Fidrac_exporter/sbom","scorecard":{"id":1244,"data":{"date":"2025-08-04","repo":{"name":"github.com/mrlhansen/idrac_exporter","commit":"b6b4a71b97f9f85b8a65a23a174606b99389f41b"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":4.4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":10,"reason":"29 commit(s) and 15 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Code-Review","score":1,"reason":"Found 3/27 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/docker-images.yml:9","Warn: topLevel 'contents' permission set to 'write': .github/workflows/go-binaries.yml:9","Warn: topLevel 'packages' permission set to 'write': .github/workflows/go-binaries.yml:10","Warn: topLevel 'contents' permission set to 'write': .github/workflows/helm-charts.yml:9","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker-images.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/mrlhansen/idrac_exporter/docker-images.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-images.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/mrlhansen/idrac_exporter/docker-images.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-images.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/mrlhansen/idrac_exporter/docker-images.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-images.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/mrlhansen/idrac_exporter/docker-images.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-images.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/mrlhansen/idrac_exporter/docker-images.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-images.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/mrlhansen/idrac_exporter/docker-images.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go-binaries.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/mrlhansen/idrac_exporter/go-binaries.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go-binaries.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/mrlhansen/idrac_exporter/go-binaries.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/helm-charts.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/mrlhansen/idrac_exporter/helm-charts.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/helm-charts.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/mrlhansen/idrac_exporter/helm-charts.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/helm-charts.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/mrlhansen/idrac_exporter/helm-charts.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:2","Warn: containerImage not pinned by hash: Dockerfile:9","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   8 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2.1.0 not signed: https://api.github.com/repos/mrlhansen/idrac_exporter/releases/232442522","Warn: release artifact helm-idrac-exporter-2.1.0 not signed: https://api.github.com/repos/mrlhansen/idrac_exporter/releases/232442085","Warn: release artifact v2.0.1 not signed: https://api.github.com/repos/mrlhansen/idrac_exporter/releases/230289474","Warn: release artifact helm-idrac-exporter-2.0.1 not signed: https://api.github.com/repos/mrlhansen/idrac_exporter/releases/230289368","Warn: release artifact v2.0.0 not signed: https://api.github.com/repos/mrlhansen/idrac_exporter/releases/222266385","Warn: release artifact v2.1.0 does not have provenance: https://api.github.com/repos/mrlhansen/idrac_exporter/releases/232442522","Warn: release artifact helm-idrac-exporter-2.1.0 does not have provenance: https://api.github.com/repos/mrlhansen/idrac_exporter/releases/232442085","Warn: release artifact v2.0.1 does not have provenance: https://api.github.com/repos/mrlhansen/idrac_exporter/releases/230289474","Warn: release artifact helm-idrac-exporter-2.0.1 does not have provenance: https://api.github.com/repos/mrlhansen/idrac_exporter/releases/230289368","Warn: release artifact v2.0.0 does not have provenance: https://api.github.com/repos/mrlhansen/idrac_exporter/releases/222266385"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/docker-images.yml:12"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T12:34:17.899Z","repository_id":43732556,"created_at":"2025-08-14T12:34:17.899Z","updated_at":"2025-08-14T12:34:17.899Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28731223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bmc","idrac","ilo","prometheus","prometheus-exporter","redfish","xclarity"],"created_at":"2025-12-15T20:02:06.139Z","updated_at":"2026-01-24T16:17:14.974Z","avatar_url":"https://github.com/mrlhansen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iDRAC Exporter\nThis is a simple Redfish (iDRAC, iLO, XClarity) exporter for [Prometheus](https://prometheus.io). The exporter uses the Redfish API to collect information and it supports the regular `/metrics` endpoint to expose metrics from the host passed via the `target` parameter. For example, to scrape metrics from a Redfish instance on the IP address `192.168.1.1` call the following URL address.\n\n```text\nhttp://localhost:9348/metrics?target=192.168.1.1\n```\n\nEvery time the exporter is called with a new target, it tries to establish a connection to the Redfish API. If the target is unreachable or if the authentication fails, the status code 500 is returned together with an error message.\n\n\n## Supported Systems\nThe program supports several different systems, because they all follow the Redfish standard. The exporter has been tested on the following systems.\n\n* HPE iLO\n* Dell iDRAC\n* Lenovo XClarity\n* Supermicro BMC\n\n\n## Installation\nThe exporter is written in [Go](https://golang.org) and it can be downloaded and compiled using:\n\n```sh\ngit clone https://github.com/mrlhansen/idrac_exporter.git\ncd idrac_exporter\nmake\n```\n\n### Docker\n\u003e [!IMPORTANT]\n\u003e Starting with v2.3.0 the container images are released on GHCR instead of Docker Hub. For those using Helm, the images are automatically pulled from the new repository. However, users running the container manually will have to switch to the new repository.\n\nThere is a `Dockerfile` in the repository for building a container image. To build it locally use:\n\n```sh\ndocker build -t idrac_exporter .\n```\n\nThere are also pre-built images available. To download these images, simply use the following command.\n\n```sh\ndocker pull ghcr.io/mrlhansen/idrac_exporter\n```\n\nRemember to set the listen address to `0.0.0.0` when running inside a container.\n\n### Helm Chart\nThere is also an official [Helm](https://helm.sh/docs/) chart for installing the exporter in a Kubernetes cluster.\n\n```sh\nhelm repo add idrac-exporter https://mrlhansen.github.io/idrac_exporter\nhelm install idrac-exporter idrac-exporter/idrac-exporter\n```\n\n\n## Configuration\nThere are many [configuration options](sample-config.yml) for the exporter, but most importantly you must provide credentials for all remote hosts and choose what metrics should be exported. By default, the exporter looks for the configuration file in `/etc/prometheus/idrac.yml` but the path can be specified using the `-config` option.\n\n```yaml\naddress: 127.0.0.1 # Listen address\nport: 9348         # Listen port\ntimeout: 10        # HTTP timeout (in seconds) for Redfish API calls\nhosts:\n  default:\n    username: user\n    password: pass\n  192.168.1.1:\n    username: user\n    password: pass\nauths:\n  mygroup:\n    username: user\n    password: pass\nmetrics:\n  all: true\n```\n\nAs shown in the example above, under `hosts` you can define credentials for individual hosts via their IP address or hostname. When a matching host cannot be found, the exporter will attempt to use the credentials under `default`. Alternatively you can define credentials for a group of hosts under the `auths` section and reference them in the request using the `auth` query parameter. For example:\n\n```text\nhttp://localhost:9348/metrics?target=192.168.10.10\u0026auth=mygroup\n```\n\nYou may combine `hosts` and `auths` in any way that fits your environment. The login user only needs read-only permissions and it is recommended to create a dedicated unpriviledged user for the exporter.\n\n**For a detailed description of the configuration, please see the [sample-config.yml](sample-config.yml) file. In this file you can also find the corresponding environment variables for the different configuration options.**\n\nBecause the metrics are collected on-demand it can take several minutes to scrape the metrics endpoint, depending on how many metrics groups are selected in the configuration file. For this reason, you should carefully select the metrics of interest and make sure Prometheus is configured with a sufficiently high scrape timeout value.\n\n\n## List of Metrics\nThe exporter can expose the metrics described in the sections below. For each metric you can see the name and the associated labels. For all `\u003cname\u003e_health` metrics the value has the following mapping.\n\n* 0 = OK\n* 1 = Warning\n* 2 = Critical\n\n### System\nThese metrics include power, health, and LED state, total memory size, number of physical processors, BIOS version and machine information.\n\n```c\nidrac_system_power_on\nidrac_system_health{status}\nidrac_system_indicator_led_on{state} // deprecated, new metric below\nidrac_system_indicator_active\nidrac_system_memory_size_bytes\nidrac_system_cpu_count{model}\nidrac_system_bios_info{version}\nidrac_system_machine_info{manufacturer,model,serial,sku}\n```\n\n### Sensors\nThese metrics include temperature and FAN health and speeds.\n\n```text\nidrac_sensors_temperature{id,name,units}\nidrac_sensors_fan_health{id,name,status}\nidrac_sensors_fan_speed{id,name,units}\n```\n\n### Power\nThese metrics include two sets of power readings. The first set is PSU power readings, such as power usage, total power capacity, input voltage and efficiency.\n\n```text\nidrac_power_supply_health{id,status}\nidrac_power_supply_output_watts{id}\nidrac_power_supply_input_watts{id}\nidrac_power_supply_capacity_watts{id}\nidrac_power_supply_input_voltage{id}\nidrac_power_supply_efficiency_percent{id}\n```\n\nThe second set is the power consumption for the entire system (and sometimes also for certain subsystems, such as the CPUs). The first two metrics are instantaneous readings, while the last four metrics are the minimum, maximum and average power consumption as measure over the reported interval.\n\n```text\nidrac_power_control_consumed_watts{id,name}\nidrac_power_control_capacity_watts{id,name}\nidrac_power_control_min_consumed_watts{id,name}\nidrac_power_control_max_consumed_watts{id,name}\nidrac_power_control_avg_consumed_watts{id,name}\nidrac_power_control_interval_in_minutes{id,name}\n```\n\n### Processors\nThese metrics include information about the CPUs in the system.\n\n```text\nidrac_cpu_info{arch,id,manufacturer,model,socket}\nidrac_cpu_health{id,status}\nidrac_cpu_voltage{id}\nidrac_cpu_max_speed_mhz{id}\nidrac_cpu_current_speed_mhz{id}\nidrac_cpu_total_cores{id}\nidrac_cpu_total_threads{id}\n```\n\n### System Event Log\nThis is not exactly an ordinary metric, but it is often convenient to be informed about new entries in the event log. The value of this metric is the Unix timestamp for when the entry was created.\n\n```text\nidrac_events_log_entry{id,message,severity}\n```\n\n### Storage\nThe storage metrics are divided into four different groups.\n\n* The first group defines a storage subgroup inside Redfish. All other storage metrics are children of this subgroup.\n* The second group is information about physical drives.\n* The third group is information about storage controllers.\n* The fourth group is information about virtual volumes, such as RAIDs.\n\nThere is one last metric for Dell systems, which reports the health status of an associated RAID controller battery (when present).\n\n```text\nidrac_storage_info{id,name}\nidrac_storage_health{id,status}\n\nidrac_storage_drive_info{id,manufacturer,mediatype,model,name,protocol,serial,slot,storage_id}\nidrac_storage_drive_health{id,status,storage_id}\nidrac_storage_drive_capacity_bytes{id,storage_id}\nidrac_storage_drive_life_left_percent{id,storage_id}\nidrac_storage_drive_indicator_active{id,storage_id}\n\nidrac_storage_controller_info{firmware,id,manufacturer,model,name,storage_id}\nidrac_storage_controller_health{id,status,storage_id}\nidrac_storage_controller_speed_mbps{id,storage_id}\n\nidrac_storage_volume_info{id,name,raidtype,storage_id,volumetype}\nidrac_storage_volume_health{id,status,storage_id}\nidrac_storage_volume_capacity_bytes{id,storage_id}\nidrac_storage_volume_media_span_count{id,storage_id}\n\nidrac_dell_controller_battery_health{id,name,status,storage_id}\n```\n\n### Memory\nThese metrics include information about memory modules in the machine.\n\n```text\nidrac_memory_module_info{ecc,id,manufacturer,name,rank,serial,type}\nidrac_memory_module_health{id,status}\nidrac_memory_module_capacity_bytes{id}\nidrac_memory_module_speed_mhz{id}\n```\n\n### Network\nThese metrics include information about network adapters and network ports.\n\n```text\nidrac_network_adapter_info{id,manufacturer,model,serial}\nidrac_network_adapter_health{id,status}\nidrac_network_port_health{adapter_id,id,status}\nidrac_network_port_max_speed_mbps{adapter_id,id}\nidrac_network_port_current_speed_mbps{adapter_id,id}\nidrac_network_port_link_up{adapter_id,id,status}\n```\n\n### Extra\nThese metrics do not belong anywhere else and they might be OEM specific. At the moment only two Dell specific metrics are exported.\n\n```text\nidrac_dell_battery_rollup_health{status}\nidrac_dell_estimated_system_airflow_cfm\n```\n\n### Exporter\nThese metrics contain information about the exporter itself, such as build information and how many errors that have been encountered when scraping the Redfish API.\n\n```text\nidrac_exporter_build_info{goversion,revision,version}\nidrac_exporter_scrape_errors_total\n```\n\n\n## Endpoints\nThe exporter has several different endpoints.\n\n| Endpoint     | Parameters | Description                                         |\n| ------------ | ---------- | --------------------------------------------------- |\n| `/metrics`   | `target`   | Metrics for the specified target                    |\n| `/reset`     | `target`   | Reset internal state for the specified target       |\n| `/reload`    |            | Trigger a reload of the configuration file          |\n| `/discover`  |            | Endpoint for Prometheus Service Discovery           |\n| `/health`    |            | Returns http status 200 and nothing else            |\n\n\n## Prometheus Configuration\nFor the situation where you have a single `idrac_exporter` and multiple hosts to query, the following `prometheus.yml` snippet can be used. Here `192.168.1.1` and `192.168.1.2` are the hosts to query, and `exporter:9348` is the address and port where `idrac_exporter` is running.\n\n```yaml\nscrape_configs:\n  - job_name: idrac\n    static_configs:\n      - targets: ['192.168.1.1', '192.168.1.2']\n    relabel_configs:\n      - source_labels: [__address__]\n        target_label: __param_target\n      - source_labels: [__param_target]\n        target_label: instance\n      - target_label: __address__\n        replacement: exporter:9348\n```\n\nYou can also use the service discovery mechanism in Prometheus to automatically discover all the targets configured in the configuration file for the exporter. The configuration is quite similar, but instead of static targets we query the discovery endpoint.\n\n```yaml\nscrape_configs:\n  - job_name: idrac\n    http_sd_configs:\n      - url: http://exporter:9348/discover\n    relabel_configs:\n      - source_labels: [__address__]\n        target_label: __param_target\n      - source_labels: [__param_target]\n        target_label: instance\n      - source_labels: [__meta_url]\n        target_label: __address__\n        regex: (https?.{3})([^\\/]+)(.+)\n        replacement: $2\n```\n\n\n## Grafana Dashboard\nThere are some different Grafana Dashboards in the `grafana` folder.\n\nExample of [grafana/idrac.json](grafana/idrac.json) which shows detailed information about individual machines. Made by [@7840vz](https://www.github.com/7840vz).\n\n![bmc1.png](grafana/bmc1.png)\n\nExample of [grafana/idrac_overview.json](grafana/idrac_overview.json) which shows a global overview of all machines. Made by [@7840vz](https://www.github.com/7840vz).\n\n![bmc2.png](grafana/bmc2.png)\n\nExample of [grafana/status-alternative.json](grafana/status-alternative.json) which shows detailed information for individual machines.\n\n![alternative.png](grafana/alternative.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrlhansen%2Fidrac_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrlhansen%2Fidrac_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrlhansen%2Fidrac_exporter/lists"}