### Gather data from SMART for zabbix. - Supported OS: Linux - Both a Bash and a Powershell version is available. - Requires Bash 4 or Linux .NETCore Powershell 3.x To use add the ...-template.xml to the host in Zabbix. Available devices then will be auto-detected and created in Zabbix when the scripts are run in discovery mode. This script skips USB-Devices to prevent external backup disks from waking up all over the day. To include those USB-drives add the parameter: - Bash-version: `--smart-with-external` - Powershell-version: `-smart-with-external $true` Sample crontab entry for the Bash version: ``` */15 * * * * root /opt/zbx-tools/zabbix-support.bash &> /dev/null 6 */1 * * * root /opt/zbx-tools/zabbix-support.bash --disco &> > /dev/null ``` Sample crontab entry for the Powershell version: ``` */15 * * * * root /opt/zbx-tools/zbx-smart.ps1 -smart_check $True 2> /dev/null 6 */1 * * * root /opt/zbx-tools/zbx-smart.ps1 -smart_disco $True 2> /dev/null ``` Also see the [Blogartice](https://blog.mh3000.net/viewer/1i1n1CWtsGc)