Hi all,
So I set up a zabiix 2.2 on a CentOS 6.5 VM. Everything works fine.
I added a windows machine, installed the zabbix client, and everything works fine.
So I want to test UserParameters. I have nothing specific, do I build a randomizer:
And then, create a user parameter:
in my windows agent configuration file.
Then, from the Centos Server, I run
I'm getting the expected random result, but in the WebUI, all I'm getting is this nagging "Not supported" status, regarding the item. I'd welcome any input.
So I set up a zabiix 2.2 on a CentOS 6.5 VM. Everything works fine.
I added a windows machine, installed the zabbix client, and everything works fine.
So I want to test UserParameters. I have nothing specific, do I build a randomizer:
Code:
Option Explicit Dim intRandomSequence Dim intMinimun, intMaximum intMaximum = 100 intMinimun = 1 Randomize intRandomSequence = Int((intMaximum-intMinimun+1)*Rnd+intMinimun) Wscript.Echo intRandomSequence
Code:
UserParameter=rnd.randomizer,%systemroot%\system32\cscript.exe /nologo c:\zabbix\rnd\randomizer.vbs
Then, from the Centos Server, I run
Code:
zabbix_get -s <host_address> -k rnd.randomizer

Comment