From 49270d4d281643d02b807e048c1cb9d89cedf9b0 Mon Sep 17 00:00:00 2001 From: Michael Hoess Date: Mon, 5 Oct 2020 22:28:43 +0200 Subject: [PATCH] zbx-smart.ps1: Update Readme --- zbx-smart-readme.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/zbx-smart-readme.md b/zbx-smart-readme.md index 51520f3..ea2ebc3 100644 --- a/zbx-smart-readme.md +++ b/zbx-smart-readme.md @@ -15,10 +15,16 @@ To include those USB-drives add the parameter: - 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 -6 */1 * * * root /opt/scripts/zabbix-support.bash --disco 2>&1 > /dev/null +*/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) \ No newline at end of file