Chapter 8: Discovery Formulas

Temporary variable definition. Temporary variables hold the result of an SNMP query. These variables can then be used as parameters in subsequent queries. The following line is an example of a temporary variable definition:

V01=OIDINST(rttMonCtrlAdminStatus.%I1==1, once);

Results line. The last line in the formula returns the formula result. The results line includes a sub-element instance string and a set of sub-element properties.

See the Netcool/Proviso SNMP Formula Language Guide for detailed information about the syntax used to write discovery formulas.

The Results Line

The discovery formula results line has four fields. Fields are delimited by a double-bar ():

Field 1 specifies the sub-element instance string transmitted to each collection formula when the specified sub-element is deployed for collection. The instance string for a given sub-element appears in the instance field (Sub-Elementview) of the Netcool/Proviso DataMart Resource Editor.

Field 2 specifies the custom label of a sub-element. The custom label for a given sub-element appears in the label field (Sub-Elementview) of the Netcool/Proviso DataMart Resource Editor.

The custom label may also display in reports that show statistics for a sub-element. The custom label typically displays under some Name, Device Name, or some similar column.

Field 3 defines the property list (as name/value pairs). The property list for a given sub-element appears in the Property and Value columns (Sub-Elementview) of the Netcool/Proviso DataMart Resource Editor.

Field 4 is an optional field that, if specified, contains the invariant of the sub-element. The invariant is used during the synchronization process to detect a change of element properties, including the instance string (the first field).

Note: The results line must appear as a single line in the formula.

188

Netcool/Proviso Adva Optical Metro Ethernet 2.1.1.0 Technology Pack User’s Guide, Version 4.3-X