First, you define the variable values in a properties file on the local machine. Then you specify the variable file by using the -variable option when starting Hawk agent. Then you can reference the external variable in a rulebase. For more information on agent startup parameters, see
TIBCO Hawk Installation Configuration and Administration Guide.
where variable-name is the name of an environment variable defined in the properties file. The file uses a standard Java property file format, with one line per variable defined. Each entry is a name-value pair in the following format:
On UNIX systems, the env command outputs environment values in the correct format.
The variables are substituted with the appropriate value before the command runs. For example, the command Telnet ${Internal.Agent Name} runs as
Telnet kimyou if the command runs for agent
kimyou from the Agent page.
where ${nextLine} is the text of the error message in the log. nextLine is a label for values returned by the microagent method that extracts information from the log file. Without variable substitution, you can include only static text, such as
High level alert or a similar string, in the alert message.
when generated. Or, if you call a script named ClearTempFiles.exe in an action whose data source provides information on disk partitions, you can specify the following command syntax: