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

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

Extract drive temperature from storcli #188

Closed jValdron closed 1 year ago

jValdron commented 1 year 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 1 year 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 1 year 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.