Skip to content
Snippets Groups Projects
  • Florian Eckert's avatar
    543a2a97
    collectd: fix smart disk detection · 543a2a97
    Florian Eckert authored
    
    On my system the attribute DEVTYPE was not set. The plugin could not
    read any data and the function call blocked forever on this function and did
    not returned. By removing it, all block devices under `/sys/class/block`
    were checked.
    
    Block devices that do not support SMART were not evaluated. The
    collected displays the following message.
    
    smart plugin: checking SMART status of /dev/loop4.
    smart plugin: unable to open /dev/loop4.
    
    If you do not like this message, you could only enable device in the uci that
    does support SMART.
    
    Signed-off-by: default avatarFlorian Eckert <fe@dev.tdt.de>
    543a2a97
    History
    collectd: fix smart disk detection
    Florian Eckert authored
    
    On my system the attribute DEVTYPE was not set. The plugin could not
    read any data and the function call blocked forever on this function and did
    not returned. By removing it, all block devices under `/sys/class/block`
    were checked.
    
    Block devices that do not support SMART were not evaluated. The
    collected displays the following message.
    
    smart plugin: checking SMART status of /dev/loop4.
    smart plugin: unable to open /dev/loop4.
    
    If you do not like this message, you could only enable device in the uci that
    does support SMART.
    
    Signed-off-by: default avatarFlorian Eckert <fe@dev.tdt.de>
933-fix-smart-detection.patch 358 B