Health

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

Describes the health of the compute module

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

state

base.data.Health.State

-

-

High-level state of module

state_reason

string

-

-

Reason for given state. Is not set if state is STATE_OK.

error_flags

ErrorFlags

-

-

Error flags

cpu_performance

CpuPerformance

-

-

CPU performance

memory_utilization

float

-

-

Memory utilization of the compute module.

The value range is between 0 and 1.

uptime

Uptime

-

-

Uptime

Error Flags

Error flags

Table 2. Available fields in blickfeld.compute_module.data.Health.ErrorFlags
Field Type Default Unit

high_cpu_load

bool

-

-

The mean CPU load of the last 20 seconds is above 85 %. Causes STATE_WARNING. The processing capability might be limited. Reduce the load, e.g. by turning off features which are not needed. The flag clears when the mean load falls below 75 %. It is not set during the first 20 seconds after the start.

high_temperature

bool

-

-

The CPU temperature of the device is too high. Causes STATE_WARNING. The CPU frequency will be throttled automatically and the processing capability might be limited. Note that an operation outside of the specified temperature range can cause permanent damage to the sensor. Check the ambient temperature and that the sensor is not exposed to direct heat.

Cpu Performance

Performance statistics of the CPU

Table 3. Available fields in blickfeld.compute_module.data.Health.CpuPerformance
Field Type Default Unit

total_load

float

-

-

Average CPU load of all cores.

The value range is between 0 and 1.

individual_loads

repeated float

-

-

Individual load per core.

The value range is between 0 and 1.

frequency

float

-

Hz

Current frequency

temperature

float

-

°C

Current temperature

Uptime

Uptime of the device

Table 4. Available fields in blickfeld.compute_module.data.Health.Uptime
Field Type Default Unit

since_boot

uint64

-

s

Uptime since the last boot

lifetime

uint64

-

s

Uptime over the whole lifetime.

NOTE: The counting started with the firmware v2.3.