Hello Everyone.
I'm newbie to Zabbix.
I'm try to run system.run item on Windows agent on windows server 2019 standard.
However, the following error message occurs.
"state_check" is not recognized as an internal or external command, operable program or batch file.
23880:20230116:185131.769 Executing command 'state_check --item DIMENSION'
23880:20230116:185131.817 execute_str() command:'state_check --item DIMENSION' len:93 cmd_result:''state_check' '
23880:20230116:185131.818 for key [system.run[state_check --item DIMENSION]] received value ['state_check' is not recognized as an internal or external command, operable program or batch file.
"state_check.exe" is console application written by C#.
The file is in the same folder as Agent.
Key of item : system.run[state_check --item DIMENSION]
I changed zabbix_agentd.conf to allow system.run command as below :
AllowKey=system.run[*]
No problem on my desktop. My desktop os is Windows 10 pro.
But error occurred on Windows Server 2019 standard.
The same error occurs even if administrator privileges are given to zabbix_agentd.exe and zabbix_get.exe.
What could be the problem? I'd be grateful if you could let us know which items to check.
I'm newbie to Zabbix.
I'm try to run system.run item on Windows agent on windows server 2019 standard.
However, the following error message occurs.
"state_check" is not recognized as an internal or external command, operable program or batch file.
23880:20230116:185131.769 Executing command 'state_check --item DIMENSION'
23880:20230116:185131.817 execute_str() command:'state_check --item DIMENSION' len:93 cmd_result:''state_check' '
23880:20230116:185131.818 for key [system.run[state_check --item DIMENSION]] received value ['state_check' is not recognized as an internal or external command, operable program or batch file.
"state_check.exe" is console application written by C#.
The file is in the same folder as Agent.
Key of item : system.run[state_check --item DIMENSION]
I changed zabbix_agentd.conf to allow system.run command as below :
AllowKey=system.run[*]
No problem on my desktop. My desktop os is Windows 10 pro.
But error occurred on Windows Server 2019 standard.
The same error occurs even if administrator privileges are given to zabbix_agentd.exe and zabbix_get.exe.
What could be the problem? I'd be grateful if you could let us know which items to check.
Comment