Health

This page documents an earlier firmware release. Read this page for the latest release

Qb2 modules

Table 1. Available fields in blickfeld.diagnostics.data.Health
Field Type Default Unit

state

base.data.Health.State

-

-

High-level aggregated health state of the device (if one of the modules reports FAILED → aggregated state is also FAILED). On a swarm leader this also covers all devices of the swarm.

state_reason

string

-

-

Reason for given state (user-friendly). Is not set if state is STATE_OK. Aggregated string from modules state reasons

module

Module

-

-

Qb2 modules

device

repeated DeviceEntry

-

-

Health of every device of the swarm, including the leader itself. The key is the serial number of the device, or its host name in the sensor setup if that names no serial number. The health of a device does not list devices itself.

[NOTE] This is only set on a swarm leader.

incidents

repeated Incident

-

-

Incidents of the device, on a swarm leader of the swarm, the worst first. A module which fails because a module it depends on fails is not an incident of its own, it is listed as affected by it.

error_flags

ErrorFlags

-

-

Error flags of the device as a whole, only those of the diagnostics: self_test_running with its modules, else set while it reports no modules: device_unreachable, device_waiting, device_shutting_down or device_starting on a swarm leader, and device_shutting_down or module_stopping in the last health the diagnostics send as they stop, with the device or on their own. A swarm leader lists a device which restarts as FAILED from its shutdown until its modules started again. It keeps a device whose diagnostics alone stop BUSY with module_stopping for up to 5 minutes, before it is device_unreachable.

Module

Qb2 modules

Table 2. Available fields in blickfeld.diagnostics.data.Health.Module
Field Type Default Unit

laser

Health

-

-

health of laser module

detector

Health

-

-

health of detector module

beam_deflection_control_vertical

Health

-

-

health of beam deflection control module (vertical)

beam_deflection_control_horizontal

Health

-

-

health of beam deflection control module (horizontal)

system

Health

-

-

health of the Blickfeld system module

core_processing

Health

-

-

health of the Blickfeld core processing module

percept_pipeline

Health

-

-

health of percept pipeline

push

Health

-

-

Health of the Blickfeld Push module

secure

Health

-

-

Health of the Blickfeld Secure module

video

Health

-

-

Health of the Blickfeld Video module

compute_module

Health

-

-

Health of the Blickfeld Compute module

onvif

Health

-

-

Health of the Blickfeld onvif module

hemispherical

Health

-

-

Health of the hemispherical capture and its rotation stage

Health

Message representing health of a Qb2 module

Table 3. Available fields in blickfeld.diagnostics.data.Health.Module.Health
Field Type Default Unit

state

base.data.Health.State

-

-

High-level health state of the module

state_reason

string

-

-

Reason for given state (user-friendly). Is not set if state is STATE_OK.

state_since

google.protobuf.Timestamp

-

-

Since when the module is OK, or since when it is not OK. Not set while it is not known.

ignored

bool

-

-

Whether the state is ignored as configured, it then neither changes the aggregated state nor causes an incident

error_flags

ErrorFlags

-

-

Error flags of the module which are set. Only set while the module is not OK.

Incident

A failing module (or one with a warning) which does not fail because of another module, and what fails because of it.

Table 4. Available fields in blickfeld.diagnostics.data.Health.Incident
Field Type Default Unit

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 Module. device if the device as a whole is the cause, e.g. as it is not reachable, and the software module serving several modules if it is not reachable, e.g. hardware for the laser, the detector and the beam deflection controls. self_test while devices run a self test, which stops and restarts their modules: every module of those devices which is not OK is affected by it, and it is on the swarm leader, else on the device.

state

base.data.Health.State

-

-

State of the module

state_reason

string

-

-

Reason for the state

start

google.protobuf.Timestamp

-

-

Since when the module is not OK. Not set while it is not known.

affected_modules

repeated Affected

-

-

Modules which are not OK because of it, the nearest first

error_flags

ErrorFlags

-

-

Error flags of the module which are set

Affected

A module which is not OK because of the cause of the incident

Table 5. Available fields in blickfeld.diagnostics.data.Health.Incident.Affected
Field Type Default Unit

device

string

-

-

Serial number of the device of the module

module

string

-

-

Module, as named in Module

state

base.data.Health.State

-

-

State of the module

state_reason

string

-

-

Reason for the state

distance

uint32

-

-

Number of dependencies between the cause and this module

error_flags

ErrorFlags

-

-

Error flags of the module which are set

Device Entry

Table 6. Available fields in blickfeld.diagnostics.data.Health.DeviceEntry
Field Type Default Unit

key

string

-

-

value

Health

-

-