Incident
An incident of the device, on a swarm leader of the swarm, from its start to its end.
An incident is a module which fails (or has a warning) not because another module does, see
Health.incidents. It is kept once its module was a cause for 5 s, so a module which is one only for a moment, as
its own cause is not reported yet or recovered first, is no incident. It ends as soon as its module is no cause any
more, one which is a cause again within a minute after that continues. It is kept with the error flags of the
modules, not with their reasons.
| Field | Type | Default | Unit |
|---|---|---|---|
id |
uint64 |
- |
- |
Identifier of the incident, unique on the device |
|||
device |
string |
- |
- |
Serial number of the device of the cause, empty if the device has no serial number of its own |
|||
module |
string |
- |
- |
Module which causes the incident, as named in |
|||
state |
- |
- |
|
Worst state of the module during the incident |
|||
start |
- |
- |
|
Start of the incident |
|||
end |
- |
- |
|
End of the incident, the time its module stopped causing it. Not set while it is ongoing. |
|||
affected_modules |
repeated Affected |
- |
- |
Modules which were not OK because of it, with the worst state they were in |
|||
recurrences |
uint32 |
- |
- |
Number of times its module was a cause again within a minute after the incident ended |
|||
acknowledgement |
- |
- |
|
Set once a user acknowledged the incident |
|||
error_flags |
- |
- |
|
Error flags of the cause which were set during the incident |
|||
Affected
A module which was not OK because of the cause of the incident
| Field | Type | Default | Unit |
|---|---|---|---|
device |
string |
- |
- |
Serial number of the device of the module |
|||
module |
string |
- |
- |
Module, as named in |
|||
state |
- |
- |
|
Worst state of the module during the incident |
|||
distance |
uint32 |
- |
- |
Number of dependencies between the cause and this module |
|||
error_flags |
- |
- |
|
Error flags of the module which were set during the incident |
|||