Cloud CM-IPMP Guía para resolver problemas Pagina 88

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 201
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 87
For parameter set type descriptions and a list of available parameter sets use -l <type name> option
$ client/bin/rhino-stats -l "System Info"
2006-01-10 17:34:04.195 INFO [rhinostat] Connecting to localhost:1199
Parameter Set Type: System Info
Description: JVM System Info
Counter type statistics:
Name: Label: Description:
freeMemory n/a Free memory
totalMemory n/a Total memory
Sample type statistics: (none defined)
Found 1 parameter sets of type ’System Info’ available for monitoring:
-> "System Info"
12.4 Evaluation of Threshold Rules
For each rule configured, Rhino evaluates the conditions it contains. When a rule’s trigger conditions evaluate to true, the alarm
corresponding to that rule is raised. If the rule has reset conditions, Rhino will begin evaluating those, clearing the alarm when
they evaluate to true. If the rule does not have reset conditions the alarm must be cleared manually by an administrator.
The frequency of evaluation of threshold rules is configurable via the Threshold Rule Configuration MBean. This MBean
allows the administrator to specify a polling frequency in milliseconds, or 0 to disable rule evaluation. The default value for
a Rhino installation is zero and must be changed to enable evaluation of threshold rules. The ideal polling frequency to use is
highly dependent on the nature of the alarms configured.
12.5 Types of Rule Conditions
Conditions in a threshold rule may be either simple conditions which evaluate a single Rhino statistic, or relative conditions
which compare two statistics. For more information on Rhino statistics and how to view available statistics refer to Chapter 8.
The two types of condition are described in more detail below.
12.5.1 Simple Conditions
A simple condition compares the value of a counter type Rhino statistic against a constant value. The available operators for
comparison are >, >=, <, <=, == and !=. For simple conditions the constant value to compare against must be a whole number.
The condition can either compare against the absolute value of the statistic (suitable for gauge type statistics) or against the
observed difference between successive samples (suitable for pure counter type statistics).
An example of a simple threshold condition would be a condition that evaluated to true when the number of transactions rolled
back is > 100. This condition would select the statistic
rolledBack
from the
Transactions
parameter set.
12.5.2 Relative Conditions
A relative threshold compares the ratio between two monitoring statistics against a constant value. As with simple conditions
the available operators for comparison are >, >=, <, <=, == and !=. For relative thresholds, the constant value to compare against
is not limited to being a whole number and can be any floating point number (represented as a java.lang.Double in Java).
An example of a relative threshold condition would be a condition that evaluated to true when free heap space was less than 20%
of total heap space. This condition would select the statistics
freeMemory
and
totalMemory
from the
System Info
parameter
set. Using the
<
operator and a constant value of 0.2 the condition would evaluate to true when the value of
freeMemory
/
totalMemory
was less than 0.2.
Open Cloud Rhino 1.4.3 Administration Manual v1.1 79
Vista de pagina 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 200 201

Comentarios a estos manuales

Sin comentarios