User guide
20-70
Using OpenVera Assertions
Starting and Stopping the Monitoring of Assertions
There are several methods you can use to start and stop the
monitoring of assertions:
• Global Monitoring — Starts or stops assertions based upon their
hierarchical location level at or below specified modules, entities,
or scopes (note that these tasks overwrite any other tasks that
control monitoring).
• Category-Based Monitoring — Starts or stops assertions based
upon their category specifications.
• Severity-Based Monitoring — Starts or stops assertions based
upon their severity specifications.
• Name-Based Monitoring — Starts or stops assertions based on
the specified name of the assertion.
Global Monitoring
The $ova_start and $ova_stop system tasks enable you to
control the monitoring of assertions based on the specified
hierarchical location of the module, scope, or entity. Note that these
tasks are specified on a global level, and overwrite any other tasks
that start or stop assertion monitoring.
To start level-based monitoring, use the $ova_start system task:
$ova_start[(levels [, module_or_scope_arguments])];
The integer argument levels indicates how many levels in the
hierarchy at and below the specified modules, entities, and scopes
the OVA monitoring is to start. Zero indicates all levels below the
specified ones. Negative values are not allowed.