Text Property Examples for a Command Template

If you are entering text for an action that refers to a command template, the Text value is appended to the Command value you specified in the command template. Typically, there must be a space between the command and the text. If so, you must specify this space explicitly. You can specify the space at the end of the command or at the beginning of the text.

You can also use substitution of environment variables as follows:

If the alert event report is

TYPE=al | CLASS=unix_host | INSTANCE=ja | ALERTID=ualert1 | SEV=major | APPL=myapp | TEXT=system crash

The resulting command that is executed is

test.exe Attention:unix_host:ja:ualert1:system crash

Note: To see the Command value of the command template the action refers to, expand the Template value in the details pane by clicking the plus sign (+) next to the property name.