State Change Reason
Reason Codes
Code |
Reason |
- |
No reason for a state change. Used for the Created state. |
1 |
Deprecated. Now treated as code 10 . If parent's state priority is less than that of a current object, propagate the current object state. |
2 |
Deprecated. Now treated as code 10 . If parent's state priority is greater than that of a current object, propagate the sibling with greatest priority. |
3 |
No suitable condition. |
4 |
Sensor error. |
5 |
No children left. |
6 |
No data from agent. |
7 |
Agent down. |
8 |
Monitoring is disabled. |
9 |
Agent task removed. |
10 |
State change in the child object. |
11 |
No data from agent. |
12 |
External change. |
13 |
Manual change. |
14 |
Periodic event was triggered on an object with no data. |
15 |
Data Expiration. |
16 |
Change state on the incident clearing. |
17 |
Incorrect State Condition. |
Root-cause transition
Root cause indicates that transition is caused by a child element.
Field |
Type |
Description |
rootCause.entityId |
String |
Entity ID. |
rootCause.entityType |
Integer |
The type of entity. |
rootCause.entityName |
String |
Name of the entity. |
data |
Object |
Additional information about the state change reason. Depends on the state change reason. |
Branch
Field |
Type |
Description |
branch.state |
Integer |
The state to which the entity transfers if the condition is met. |
branch.condition |
Object |
Condition under which the entity transfers state. See supported operators below and format below. |
branch.description |
String |
Description of the state change condition. |
Logical operator format.
Supported operators:
Field |
Description |
_ct |
Contains |
_eq |
Equal to |
_gt |
Greater than |
_gte |
Greater than or equal to |
_lt |
Less than |
_lte |
Less than or equal to |
_m |
Matches with |
_nct |
Not contains |
_neq |
Not equal to |