Additional scripts for Zabbix agent on Linux to discover and monitor several services
 
 

2 lines
83 B

#!/bin/sh
/usr/sbin/smartctl -A $1 | grep $2 | tail -1| cut -c 88- | cut -f1 -d' '