Openshift's hpessa-exporter allows users to export SMART information of local storage devices as Prometheus metrics, by using HPE Smart Storage Administrator tool

hpessa-exporter

Overview

Openshift's hpessa-exporter allows users to export SMART information of local storage devices as Prometheus metrics, by using HPE Smart Storage Administrator tool. Those metrics (device status, temperature etc.) may hint administrators on potential up-coming failures.

Prerequisites

  • Install RedHat's Openshift (4.9+)
  • Install HPE Smart Storage Administrator on local host machines. Ensure that the ssacli is installed on one of the following locations:
    • /usr/sbin/ssacli
    • /opt/smartstorageadmin/ssacli/bin/ssacli
    • /opt/hp/ssacli/bld/ssacli

Deployment

Use deployment yaml from this repository:

oc apply -f deply/hpessa-exporter.yaml

Verify that exporter daemonset pods are up and running:

$ oc get pods -n openshift-storage-hpessa
NAME                    READY   STATUS    RESTARTS   AGE
hpessa-exporter-2cbvl   1/1     Running   0          35s
hpessa-exporter-sk2cn   1/1     Running   0          35s
hpessa-exporter-v699z   1/1     Running   0          35s

Verify that each of the running pods exports local metrics

$ oc curl http://hpessa-exporter-2cbvl:8080/metrics -n openshift-storage-hpessa
# HELP hpessa_blkdev_size_bytes Block device size in bytes.
# TYPE hpessa_blkdev_size_bytes gauge
hpessa_blkdev_size_bytes{major="8",minor="16",model="LOGICAL VOLUME",name="sdb",vendor="HPE"} 2.3441958064e+10
# HELP hpessa_ssa_physical_device_power_hours Power on in hours
# TYPE hpessa_ssa_physical_device_power_hours gauge
hpessa_ssa_physical_device_power_hours{bay="1",box="2",dev="/dev/sdb",id="physicaldrive 1I:2:1",uniqueid="5000C50094D7BEB3"} -1
# HELP hpessa_ssa_physical_device_size Size in bytes of physical device
# TYPE hpessa_ssa_physical_device_size gauge
hpessa_ssa_physical_device_size{bay="1",box="2",dev="/dev/sdb",id="physicaldrive 1I:2:1",uniqueid="5000C50094D7BEB3"} 6.597069766656e+12
# HELP hpessa_ssa_physical_device_status Status of physical device
# TYPE hpessa_ssa_physical_device_status gauge
hpessa_ssa_physical_device_status{bay="1",box="2",dev="/dev/sdb",id="physicaldrive 1I:2:1",uniqueid="5000C50094D7BEB3"} 0
# HELP hpessa_ssa_physical_device_temp_curr Current temperature of physical device
# TYPE hpessa_ssa_physical_device_temp_curr gauge
hpessa_ssa_physical_device_temp_curr{bay="1",box="2",dev="/dev/sdb",id="physicaldrive 1I:2:1",uniqueid="5000C50094D7BEB3"} 34
# HELP hpessa_ssa_physical_device_temp_maxi Maximal temperature of physical device
# TYPE hpessa_ssa_physical_device_temp_maxi gauge
hpessa_ssa_physical_device_temp_maxi{bay="1",box="2",dev="/dev/sdb",id="physicaldrive 1I:2:1",uniqueid="5000C50094D7BEB3"} 48
...
Similar Resources

NVIDIA GPU metrics exporter for Prometheus leveraging DCGM

DCGM-Exporter This repository contains the DCGM-Exporter project. It exposes GPU metrics exporter for Prometheus leveraging NVIDIA DCGM. Documentation

Dec 27, 2022

A Prometheus exporter which scrapes metrics from CloudLinux LVE Stats 2

A Prometheus exporter which scrapes metrics from CloudLinux LVE Stats 2

CloudLinux LVE Exporter for Prometheus LVE Exporter - A Prometheus exporter which scrapes metrics from CloudLinux LVE Stats 2 Help on flags: -h, --h

Nov 2, 2021

A Prometheus metrics exporter for AWS that fills in gaps CloudWatch doesn't cover

YAAE (Yet Another AWS Exporter) A Prometheus metrics exporter for AWS that fills in gaps CloudWatch doesn't cover About This exporter is meant to expo

Dec 10, 2022

Prometheus metrics exporter for libvirt.

Libvirt exporter Prometheus exporter for vm metrics written in Go with pluggable metric collectors. Installation and Usage If you are new to Prometheu

Jul 4, 2022

Prometheus Exporter for Kvrocks Metrics

Prometheus Exporter for Kvrocks Metrics

Prometheus Kvrocks Metrics Exporter This is a fork of oliver006/redis_exporter to export the kvrocks metrics. Building and running the exporter Build

Sep 7, 2022

A prometheus exporter which reports metrics about your Gmail inbox.

prometheus-gmail-exporter-go A prometheus exporter for gmail. Heavily inspired by https://github.com/jamesread/prometheus-gmail-exporter, but written

Nov 15, 2022

LLS-Exporter exports fuel level sensor data (rs-485 lls protocol) as prometheus metrics

LLS Exporter LLS Exporter reads rs485/rs232 data from serial port, decodes lls protocol and exports fuel level sensor data as prometheus metrics. Lice

Dec 14, 2021

Exporter your cypress.io dashboard into prometheus Metrics

Cypress.io dashboard Prometheus exporter Prometheus exporter for a project from Cypress.io dashboards, giving the ability to alert, make special opera

Feb 8, 2022

Github exporter for Prometheus metrics. Written in Go, with love ❤️

Github exporter for Prometheus This is a Github exporter for Prometheus metrics exposed by Github API. Written in Go with pluggable metrics collectors

Oct 5, 2022
Export Prometheus metrics from journald events using Prometheus Go client library

journald parser and Prometheus exporter Export Prometheus metrics from journald events using Prometheus Go client library. For demonstration purposes,

Jan 3, 2022
Json-log-exporter - A Nginx log parser exporter for prometheus metrics

json-log-exporter A Nginx log parser exporter for prometheus metrics. Installati

Jan 5, 2022
A Go based deployment tool that allows the users to deploy the web application on the server using SSH information and pem file.

A Go based deployment tool that allows the users to deploy the web application on the server using SSH information and pem file. This application is intend for non tecnhincal users they can just open the GUI and given the server details just deploy.

Oct 16, 2021
Vulnerability-exporter - A Prometheus Exporter for managing vulnerabilities in kubernetes by using trivy
Vulnerability-exporter - A Prometheus Exporter for managing vulnerabilities in kubernetes by using trivy

Kubernetes Vulnerability Exporter A Prometheus Exporter for managing vulnerabili

Dec 4, 2022
Openvpn exporter - Prometheus OpenVPN exporter For golang

Prometheus OpenVPN exporter Please note: This repository is currently unmaintain

Jan 2, 2022
Amplitude-exporter - Amplitude charts to prometheus exporter PoC

Amplitude exporter Amplitude charts to prometheus exporter PoC. Work in progress

May 26, 2022
Netstat exporter - Prometheus exporter for exposing reserved ports and it's mapped process

Netstat exporter Prometheus exporter for exposing reserved ports and it's mapped

Feb 3, 2022
Prometheus exporter for IAAS daily billing information
Prometheus exporter for IAAS daily billing information

Multi-iaas-daily-billing-exporter Multi-iaas-daily-billing-exporter enables to collect, unify and expose daily billing from AWS and GCP providers. The

Dec 14, 2021
📡 Prometheus exporter that exposes metrics from SpaceX Starlink Dish
📡  Prometheus exporter that exposes metrics from SpaceX Starlink Dish

Starlink Prometheus Exporter A Starlink exporter for Prometheus. Not affiliated with or acting on behalf of Starlink(™) ?? Starlink Monitoring System

Dec 19, 2022
Prometheus exporter for Chia node metrics

chia_exporter Prometheus metric collector for Chia nodes, using the local RPC API Building and Running With the Go compiler tools installed: go build

Sep 19, 2022