I understand that if I want to get some custom data from my agents I have to use UserParameters and I've been successful when working with these.
This is an example of me executing a powershell command on my windows agent to retrieve the date. I've made this just for test purposes.
However to make this possible I need to access my windows machine and find the zabbit_agentd file make a user parameter, this is a lot of work considering that I have about 100 virtual machines that I want to configure which means that i would have to log in to each machine every time and do the same thing for all of them.
Is there a way I could configure my windows agent hosts using the Zabbix server?
I was thinking maybe there is a way to make a script in Zabbix server itself using external commands perhaps to get access to the Zabbix agents that are currently being monitored and push some changes into them.
This is an example of me executing a powershell command on my windows agent to retrieve the date. I've made this just for test purposes.
Code:
UserParameter=get.date,C:\Windows\System32\Win dowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass Get-Date
However to make this possible I need to access my windows machine and find the zabbit_agentd file make a user parameter, this is a lot of work considering that I have about 100 virtual machines that I want to configure which means that i would have to log in to each machine every time and do the same thing for all of them.
Is there a way I could configure my windows agent hosts using the Zabbix server?
I was thinking maybe there is a way to make a script in Zabbix server itself using external commands perhaps to get access to the Zabbix agents that are currently being monitored and push some changes into them.
Comment