Dell Vizioncore Manual de usuario Pagina 265

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 531
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 264
Working with vFoglight Rules and Registry 265
Working with Rules
In the Condition tab, use the Condition area to write the conditional expression.
You can type the condition directly into the Condition box, or use the operator
controls and the Condition Editor to add logical operators, registry variables,
metrics, or Groovy functions. For complete information about inserting operators
or using the Condition editor, see “Specifying a Rule Condition or Derived Metric
Expression” on page 481.
Caution If you change the metrics, registry variables, or topology object properties that are
referenced in the condition, ensure that the new items are available for the
topology type or object(s) to which the rule is scoped.
Important To separate multiple lines in conditional expressions, use a semicolon followed
by a carriage return. In conditional expressions consisting of a single line, using a
semicolon to end the line is optional. For example:
Multi-line expressions
Example A
Correct
println @event.dump();
@event.get("report/name") == "MyReport";
Incorrect
println @event.dump()
@event.get("report/name") == "MyReport";
Note The first line is missing a semicolon which causes the expression
to result in an error.
Single-line expressions
Example B
Correct
println @event.dump();
Example C
Correct
Vista de pagina 264
1 2 ... 260 261 262 263 264 265 266 267 268 269 270 ... 530 531

Comentarios a estos manuales

Sin comentarios