mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-08-20 18:33:52 -07:00
Add this new metric (where sda is active and sdb is in standby mode):
smartmon_device_active{disk="/dev/sda",type="sat"} 1
smartmon_device_active{disk="/dev/sdb",type="sat"} 0
Also skip further metrics if the drive is in a low-power mode. This
prevents spinning up disks just to get the metrics (which matches e.g.
debian's default behavior for smartd).
Signed-off-by: Andre Heider <a.heider@gmail.com>
|
||
|---|---|---|
| .. | ||
| apt.sh | ||
| deleted_libraries.py | ||
| directory-size.sh | ||
| ipmitool | ||
| md_info.sh | ||
| mellanox_hca_temp | ||
| ntpd_metrics.py | ||
| pacman.sh | ||
| README.md | ||
| smartmon.sh | ||
| storcli.py | ||
Text collector example scripts
These scripts are examples to be used with the Node Exporter Textfile Collector.
To use these scripts, we recommend using a sponge to atomically write the output.
<collector_script> | sponge <output_file>
Sponge comes from moreutils
For more information see: https://github.com/prometheus/node_exporter#textfile-collector