The
StateItem
interface represents an electrical switch to supervise, e.g., a sensor's component like power supply, sensor unit, network IF, etc. A
StateItem
is distinguished by item id in the associated parent
Node
. The state field represents device's state (either it's ok or failure). It has 4 digits.
The first digit represents if the state item is summary (overall status) or not. A summary state item represents the overall status of that node, e.g., if any part of the items are malfucntioning, the summary item may (or may not) show failure (depending on the rule). 1 means physical item and 2 means summary item.
If it is physical item, then the fourth digit signifies whether it is failure or not. 0 means ok, and 1 means failure. The second and third digits represent the state's severity, repsectively. The larger number means the more serious the failure.
If it's summary item, then third and fourth digits represent the state's severity. The severity of 0 means there is no failure overall, e.g., the overall
Node
is functioning.
1041 : physical failure, severity is 4 1031 : physical failure, severity is 3 2000 : summary state, not failure 2004 : summary is failure, severity is 4
@author y-komori
@@org.jboss.cache.aop.InstanceOfAopMarker