V
V
Vadim2018-04-26 17:43:02
Windows
Vadim, 2018-04-26 17:43:02

How to run a windows application on a trigger in Zabbix 3.4?

When a trigger event occurs, for example, the port is turned off, you need to start the application (let it be "Calculator") that is responsible for this port. get the status "OK" at the next check.
Added "EnableRemoteCommands=1" to config and propagated to client devices.
A simple check checks every 30s that the port is available, if the port is not available for 45s, the trigger fires. In "Settings/Action", an action has been created for the trigger, which, logically, should immediately execute a remote command through the zabbix agent when the trigger fires on the selected machines.
command beat like:
C:\Windows\System32\calc.exe
"C:\Windows\System32\calc.exe"
system.run[C:\Windows\System32\calc.exe,]
It is necessary to add software through web zabbix, options with generating a bunch of configs with the necessary commands are not acceptable.
How to implement correctly?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question