perfectra1n / esxi-perccli-exporter

Enumerate PERC RAID controller S.M.A.R.T. information remotely. Was made to help fetch information when the system is running ESXi, but can get information from any system running a PERC card.
2 stars 0 forks source link

[Discuss] Another option for obtaining data #1

Open mritd opened 6 months ago

mritd commented 6 months ago

I'm new to prometheus, and I'm looking for solutions on how to get physical disk data from RAID cards.

So far I have found three options to get physical disk metrics data:

Maybe try using LSI Storage Authority's HTTP API, I think it would be better;

Anyway, thanks for the work.

perfectra1n commented 6 months ago

Hey @mritd, yeah this tool relies on the user installing perccli on the ESXi machine as a .vib, and then the exporter SSHs into the machine to run the command /opt/lsi/perccli/perccli /cALL show all J to gather the JSON, then exposes the information for Prometheus to scrape on /metrics.

So for your first point of perccli, you could use the <wherever-you-installed-perccli>/perccli /cALL show all J to have perccli print its output as JSON.

You can also specify a different path of where the perccli binary is called, by overriding the PERCCLI_FILE_PATH variable in the container/program. This could be useful if you aren't running the program against an ESXi machine.

Was this tool not working as expected for you?

mritd commented 6 months ago

Most of the data is perfect so far, but I can't seem to find a temperature indicator for the physical disks(It's possible I missed it.).

I'm trying to get through the LSI Storage Authority tool API to get it. Just some exploration of new tools 😆.