I would like to run external commands directly on the server that generated an event. For example, I want to make sure apache is running, and restart it when it is stopped. So I define a trigger that will run an external command. However, I think it is easier not to define an action for each server I monitor, but only one that will use the {HOSTNAME} macro to know on which server the action will run.
So it would be nice to be able to put macros in remote commands.
So it would be nice to be able to put macros in remote commands.

Comment