原本zabbix agent 設定UserParameter=replica.state,powershell -NoProfile -ExecutionPolicy Bypass -File "C:\scripts\Replica.ps1" $1
監控hyper-v replica沒問題,但使用zabbix agent2之後,agent2.conf一樣的設定,於WEB UI的item測試value出現錯誤如下:
監控hyper-v replica沒問題,但使用zabbix agent2之後,agent2.conf一樣的設定,於WEB UI的item測試value出現錯誤如下:
- Value of type "string" is not suitable for value type "Numeric (float)". Value "?B?z -File '"C:\scripts\Replica.ps1"' ????: ??|???????X?k???r???C ?Ь? -File ?Ѽƫ?w???Ī???|?C"
Comment