Skip to content

Prometheus Redfish Exporter with basic health metrics

License

Notifications You must be signed in to change notification settings

G-PORTAL/redfish_exporter

Repository files navigation

Redfish Exporter

Redfish Exporter for Prometheus. This exporter is using Redfish API to fetch metrics from servers.

Warning

This is a work in progress.

Usage

With Command Line

Usage of redfish_exporter:
  -config.file string
        Path to the configuration file (default "config.yml")
  -web.listen-address string
        Address to listen on (default "0.0.0.0:9096")

With Docker

docker run -d -p 0.0.0.0:9096:9096 \
  -v "$(pwd)/config.example.yml:/etc/redfish_exporter/config.yml" \
  --name redfish-exporter gportal/redfish_exporter:latest

Supports

Redfish Exporter is providing generic metrics fetched from Redfish endpoints.

Example request

curl http://localhost:9096/metrics?host=https://<ip>

Pre Actions

This exporter also allows to handle pre actions before fetching metrics. This can be useful to enable metrics on the server or handle specific errors before fetching metrics.

Currently the following actions are supported:

  • reset_intrusion_alert - Reset intrusion alert on the server

Tested with

  • HPE ILO4
  • HPE ILO5
  • Dell iDRAC 8
  • Dell iDRAC 9
  • AsRockRack
  • SuperMicro SuperServer