prometheus-community / node-exporter-textfile-collector-scripts

Scripts for node-exporter's textfile collector
Apache License 2.0
488 stars 185 forks source link

Extract drive temperature from storcli #188

Closed jValdron closed 9 months ago

jValdron commented 9 months ago

Adds a new metric under megaraid for physical drives temperature. There's a Drive Temperature field under Drive $DRIVE State, at least for my controller (PERC H730).

dswarbrick commented 9 months ago

Since this is a new metric (and possibly optional), can you move it to the end of list, after pd_emergency_spare? It seems kind of out of place currently, having landed smack in the middle of existing code.

jValdron commented 9 months ago

Since this is a new metric (and possibly optional), can you move it to the end of list, after pd_emergency_spare? It seems kind of out of place currently, having landed smack in the middle of existing code.

Sure thing, I had put it in the order of how it shows up in storcli output.