1364:20200709:085346.828 active check "jobs.mssql.discovery" is not supported: Timeout while executing a shell script. 1. 1364:20200709:085842.183 Failed to execute command "powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\zabbix\bin\win64\Discovery.mssql.server.ps1" JSONDBNAME": Ti...
If wscript.arguments.count = 0 Then Set sh = createobject("shell.application") sh.shellexecute wscript.fullname,""" & wscript.scriptfullname & """ -admin",,"runas" ElseIf wscript.arguments.count = 1 And wscript.arguments(0) = "-admin" Then run Else msgbox "脚本启动参数错误!" End If...
Via powershell fetching counterslocally on an impacted asset – this works: PS C:\Program Files\Zabbix Agent 2> Get-Counter -Counter"\PhysicalDisk(0 C:)\Avg. Disk Read Queue Length"Timestamp CounterSamples --- --- 28/09/2022 11:23:06 \\server-test01\physicaldisk(0 c:)\avg. ...
Absolute paths used(especially in Windows(UserParameters,inside powershell script)) Discovery script should probably fail if not run under Admin/root(since its impossible to collect proper data) usbjmicron is not implemented in Windows, only in Linux discovery script ...
The Zabbix agent has two features for data retrieval from an external PowerShell script: TheUserParameteroption in the agent’s configuration file allows you to execute PowerShell code. If you use this option, you must enable the UserParameter option and copy the PS1 script file to each Window...
Using the following command, execute the script provided with the Zabbix server installation to import the schema: sudo zcat/usr/share/doc/zabbix-server-mysql*/create.sql.gz|mysql-uzabbix-p zabbix This will take a minute or two to execute. When you return to the Bash prompt, you can conti...