Package: prometheus-node-exporter / 0.17.0+ds-3

Metadata

Package Version Patches format
prometheus-node-exporter 0.17.0+ds-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 Do_not_wake_up_disks.patch | (download)

text_collector_examples/smartmon.sh | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

    smartmon.sh: add metric for active/low-power mode (#1192)
    
    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>

02 Properly_disable_zfs.patch | (download)

collector/zfs_linux.go | 2 2 + 0 - 0 !
collector/zfs_linux_test.go | 2 2 + 0 - 0 !
2 files changed, 4 insertions(+)

 properly disable zfs

03 Default_settings.patch | (download)

collector/filesystem_linux.go | 2 1 + 1 - 0 !
collector/netdev_common.go | 2 1 + 1 - 0 !
collector/systemd_linux.go | 4 2 + 2 - 0 !
collector/textfile.go | 2 1 + 1 - 0 !
4 files changed, 5 insertions(+), 5 deletions(-)

 set defaults that make sense for debian systems.