zbx-smart.ps1: Update Readme

This commit is contained in:
Michael Hoess 2020-10-05 22:28:43 +02:00
parent 05a0d3f7c0
commit 49270d4d28
1 changed files with 9 additions and 3 deletions

View File

@ -15,10 +15,16 @@ To include those USB-drives add the parameter:
- Powershell-version: `-smart-with-external $true` - Powershell-version: `-smart-with-external $true`
Sample crontab entry Sample crontab entry for the Bash version:
``` ```
*/15 * * * * root /opt/scripts/zabbix-support.bash 2>&1 > /dev/null */15 * * * * root /opt/zbx-tools/zabbix-support.bash &> /dev/null
6 */1 * * * root /opt/scripts/zabbix-support.bash --disco 2>&1 > /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) Also see the [Blogartice](https://blog.mh3000.net/viewer/1i1n1CWtsGc)