Page tree

SAYMON документация

Skip to end of metadata
Go to start of metadata

States of children objects are propagated to their parent objects depending on states priority and weight coefficient of influence.

Each object in the system has a weight. The weight of objects in the same state and in which both have common parent is summed.

If this sum is <1, then this state is not passed to the parent.

If this state is ≥1, then this state can be passed to the parent.

If there are several such states (with a weight ≥1), the parent is passed the most critical state according to the priority.

If the parent element has its own probe, it will be transfered into the most critical of two states:

  1. the result of own probe;
  2. inherited from child elements.

List of states and their priority can be changed in Configuration.

Example:

  • SSH service with weight = 0.4, Saymon Agent with weight = 0.7,  RAM with weight = 0.5 have got OBJECT IS OK state (working) (priority 5),
  • while CPU with weight = 0.8,  HDD with weight = 0.7 have changed their states to OBJECT IS OVERLOADED (priority 6).

The sum of weights of children objects:

  • in the state OBJECT IS OK is 1.6 (  1),
  • in the state OBJECT IS OVERLOADED is 1.5 (  1).

Since the OBJECT IS OVERLOADED status is more critical than OBJECT IS OK, so the parent object state has been changed to OBJECT IS OVERLOADED.

The object:

  • does not inherit state from child elements
  • ignores the result of its own probe

if its state was manually changed in Parameters section.

  • No labels