diff options
author | Ben Kochie <superq@gmail.com> | 2017-10-18 07:37:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-18 07:37:47 +0200 |
commit | 1824ac3b9e5b5c810d88a9f0fb5e0aabfa1727ee (patch) | |
tree | ee48e6225d5f4cd241b10395c41f106cf24dbd04 /node_exporter_test.go | |
parent | f3a70226025bf81e55eaf9d7386f9f7b3a267694 (diff) | |
download | prometheus_node_collector-1824ac3b9e5b5c810d88a9f0fb5e0aabfa1727ee.tar.bz2 prometheus_node_collector-1824ac3b9e5b5c810d88a9f0fb5e0aabfa1727ee.tar.xz prometheus_node_collector-1824ac3b9e5b5c810d88a9f0fb5e0aabfa1727ee.zip |
Fix smartmon.sh textfile script (#700)
When there are no SMART compatible devices (Raspberry Pi for example) an
error is returned, but the return code is still 0.
`# scan_smart_devices: glob(3) aborted matching pattern /dev/discs/disc*`
* Remove unused `disks` variable.
* Filter for only valid `/dev` devices.
Diffstat (limited to 'node_exporter_test.go')
0 files changed, 0 insertions, 0 deletions