DEV Community

Xavier Rey-Robert
Xavier Rey-Robert

Posted on

Monitoring HP HBA H240 with telegraf and grafana

I've recently got an HP SAS HBA H240 for my home lab to manage eight SAS SSD Pm1633a drives for better IOPs - who doesn't need that to run OpenShift at home right ? Given the HBA240's tendency to heat up, especially in a workstation setup, it's important to keep an eye on temperatures (Controller and SSDs).

To tackle this, I wrote a simple Python script that parses SSA CLI output into JSON format. This makes it easy to feed the data into Telegraf, enabling straightforward monitoring with Grafana.

Just a quick post to share this and for posterity...
I don't get into telegraf and grafana now, just comment if you want telegraf conf / grafana panel.

https://gist.github.com/XReyRobert/f3d6177d2b50b4198ea9f8896437c5b8

Top comments (0)