I have a script that I want to run on demand on zabbix active clients, I placed the script in the folder "C:\script\test.bat"
I added zabbix_active to the client
AllowKey=system.run[C:\script\test.bat]
UserParameter=sb4.send,C:\script\test.bat
On the zabbix server in the host in item I added a parameter with a refresh time of 1 hour
The script runs every hour
However, I need to make a change to run this script on zabbix clients from the zabbix server on demand, not every 1 hour.
Finally, I would like to place this script on 7 clients so that it runs when I send an email from my email address to, for example, [email protected] with the message "run script test"
I added zabbix_active to the client
AllowKey=system.run[C:\script\test.bat]
UserParameter=sb4.send,C:\script\test.bat
On the zabbix server in the host in item I added a parameter with a refresh time of 1 hour
The script runs every hour
However, I need to make a change to run this script on zabbix clients from the zabbix server on demand, not every 1 hour.
Finally, I would like to place this script on 7 clients so that it runs when I send an email from my email address to, for example, [email protected] with the message "run script test"
Comment