Skip to content

smartmon.py/sh prevents disk spindown #257

@eatnumber1

Description

@eatnumber1

In https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/blob/master/smartmon.sh#L187, the -n standby skips monitoring if the disk is in standby. However if it is in the idle state (not standby), it will continue. Some of the metrics retrieved however will reset the idle timer on the disk, preventing standby from ever being reached.

To prevent this, we need to pass -n idle to avoid collecting metrics if the disk is idle, or change the data collection frequency to be greater than the standby timer of the disk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions