zabbix-agent-addons/zabbix_scripts/check_smart_sudo

3 lines
83 B
Plaintext
Raw Permalink Normal View History

2013-04-12 15:10:03 +02:00
#!/bin/sh
/usr/sbin/smartctl -A $1 | grep $2 | tail -1| cut -c 88- | cut -f1 -d' '