Hi,
I have an alert set up to alert when a specific component/process is down on any one of 100s of nodes. Each node has this process running on it and the alert triggers when the process stops on any one of them.
I've created a trigger action to 'execute an external program'. I've also created a bat file on the C: drive of our polling server which restarts the process in question. This bat file does not specify a particular node, as the node will vary depending on the alert.
I therefore added a variable to this trigger action, the variable being Display Name (Node) so I'm hoping when the alert triggers, the Node that it's triggered on will be passed to the script/action for it to execute against that node.
I'm not sure how this variable should be specified next to the file path however.
This is my variable: "${N=SwisEntity;M=Application.Node.DisplayName}
Path on my polling server: \C:\folder\file.bat
How do I specify these together?
Also, does anyone know if in the trigger actions section I should define a user and/or what permissions are required for the polling server to run a bat file against another node?
Thanks