13.12.2012 Views

HP OpenView Operations Administrator's Reference - filibeto.org

HP OpenView Operations Administrator's Reference - filibeto.org

HP OpenView Operations Administrator's Reference - filibeto.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring OVO<br />

About Variables<br />

Returns the value of an optional variable that is set by<br />

opcmsg or opcmon (for example, <br />

, and so on). To find out how to set this<br />

variable, the opcmsg or opcmon man page.<br />

NOTE The $OPTION variable cannot contain double quotes.<br />

Use single quotes instead.<br />

Resolving Variable Values in OVO<br />

The variables used in OVO can take one of several values, depending on<br />

the incoming message, default template configuration or the<br />

configuration of the condition that they are matching. The order in which<br />

the variable values are determined is as follows:<br />

1. Value set by the external source (API/executable, event, and so on).<br />

For example, if the following opcmsg command is called:<br />

opcmsg app=APP object=O msg_text="Message text"<br />

The variable is assigned the value APP.<br />

2. Values for some variables can not be set by external sources and are<br />

internally generated by OVO, for example, message ID.<br />

3. If none of the above is valid for a variable, that variable uses the<br />

value set in the Message Defaults section of the template for which<br />

the variable is evaluated. If there is no default value set, the value of<br />

that variable is empty or 0, depending on its type.<br />

The above order is strictly adhered to when resolving variable values.<br />

For example, if a value for is set in step 1, a default<br />

value set in the Message Default section (step 3) is ignored.<br />

Chapter 2 173

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!