Health

Esta página describe una versión anterior del firmware. Leer esta página para la versión más reciente

Message representing health

Tabla 1. Available fields in blickfeld.system.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.

time_synchronization

TimeSynchronization

-

-

Time synchronization status

network

NetworkStatus

-

-

Network status

error_flags

ErrorFlags

-

-

Conditions which are present

status_flags

StatusFlags

-

-

Status flags

Time Synchronization

Status message for time synchronization

Tabla 2. Available fields in blickfeld.system.data.Health.TimeSynchronization
Field Type Default Unit

state

base.data.Health.State

-

-

High-level state of the time synchronization

state_reason

string

-

-

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

current_system_timestamp

uint64

-

ns

Current timestamp

current_time_zone

string

-

-

Current time zone

ntp

Ntp

-

-

Status for NTP time synchronization

manual

Manual

-

-

Status for manual time configuration

Ntp

Status message representing the NTP time synchronization status

Tabla 3. Available fields in blickfeld.system.data.Health.TimeSynchronization.Ntp
Field Type Default Unit

synchronized

bool

-

-

Flag indicating that the system time is synchronized with NTP

server

string

-

-

The server NTP time server which is used

offset

float

-

s

Time offset between Qb2 system time and time server

delay

float

-

s

Time delay from NTP request until server response is received

jitter

float

-

s

Jitter between multiple time comparisons

precision

float

-

s

Precision of the NTP time synchronization

dhcp_servers

repeated string

-

-

NTP servers advertised by DHCP on the active link

Manual

Status message representing the manual time configuration status

Tabla 4. Available fields in blickfeld.system.data.Health.TimeSynchronization.Manual
Field Type Default Unit

serving_time

bool

-

-

Flag indicating that this device serves its system time to other devices

clients

uint32

-

-

Number of NTP clients which are currently served

Status Flags

Fine grained status flags

Tabla 5. Available fields in blickfeld.system.data.Health.StatusFlags
Field Type Default Unit

time_synchronization_in_progress

bool

-

-

The system time is being synchronized with an NTP server during the synchronization grace period. Causes STATE_BUSY of the module unless an error flag is set. Clears on its own once synchronized.

fallback_time_server_used

bool

-

-

The fallback NTP server is used although other servers are configured. Check that the configured NTP servers are reachable from the device.

default_gateway_missing

bool

-

-

No default gateway is configured. The device might have no internet connectivity and might be unreachable from other subnets. Configure a gateway if the device must be reachable from other subnets.

Error Flags

Conditions which make the module not OK. Each one causes STATE_WARNING of the module.

Tabla 6. Available fields in blickfeld.system.data.Health.ErrorFlags
Field Type Default Unit

time_server_not_running

bool

-

-

Manual time is configured to be served to other devices, but the local NTP server is not running. Time synchronization is STATE_FAILED. Re-apply the time synchronization configuration or restart the device.

time_synchronization_state_unavailable

bool

-

-

The time synchronization state cannot be read from the system. Time synchronization is STATE_FAILED. Restart the device if it persists.

time_not_synchronized

bool

-

-

The system time is still not synchronized with an NTP server after the synchronization grace period. Time synchronization is STATE_FAILED. Check that the configured NTP servers are reachable from the device.

link_speed_low

bool

-

-

The Ethernet link speed is lower than the recommended 1 GBit/s. Network is STATE_WARNING. Check the network cabling and the switch port.