Hi everyone.
I have zabbix agent which was installed on windows 2016 server.
I created powershell script which for test return a constant value.
And added it to zabbix conf file with such line:
After I added the template in zabbix server and added this template to specified server.
This key shows me on the monitor with is the grey color and it doesn't receive any value.
I changed for test value like this:
And after a few seconds, I saw this value in zabbix.
Could you please suggest how to fix it?
Probably it is a security issue?
I tried to switch zabbix agent to admin account, but during the switch, it shows me the error: Access denied.
Log error level equals 3 and I don't see any error.
I did the same in Windows 10 and this script is working.
So something I missed during configuration on the server.
I have zabbix agent which was installed on windows 2016 server.
I created powershell script which for test return a constant value.
And added it to zabbix conf file with such line:
Code:
UserParameter=testkey[*],PowerShell.exe -nologo "C:\Scripts\Test.ps1"
This key shows me on the monitor with is the grey color and it doesn't receive any value.
I changed for test value like this:
Code:
UserParameter=testkey[*],echo 51
Could you please suggest how to fix it?
Probably it is a security issue?
I tried to switch zabbix agent to admin account, but during the switch, it shows me the error: Access denied.
Log error level equals 3 and I don't see any error.
I did the same in Windows 10 and this script is working.
So something I missed during configuration on the server.
Comment