Static Health
StackState Self-hosted v5.1.x
Last updated
StackState Self-hosted v5.1.x
Last updated
The Static Health integration is used to visualize static health information in StackState by reading from CSV files. The health consists of check states.
Static Health is a .
To set up the Static Health integration you will need to have:
StackStateinstalled on a machine that can connect to StackState.
To configure StackState to read CSV health files:
Edit the Agent integration configuration file /etc/stackstate-agent/conf.d/static_health.d/conf.yaml
to include the following details:
type - set to csv
for parsing CSV typed files.
health_file - the absolute path to the CSV file containing health state information.
delimiter - the delimiter used in the CSV file.
to apply the configuration changes.
Once the Agent has restarted, wait for the Agent to collect data from the specified and send it to StackState.
Static health is read from a CSV file with a header row, that specifies the fields that are included in the file. The available fields are listed in the table below.
check_state_id
yes
Identification for the check state within the health stream.
name
yes
The display name of the check state.
health
yes
The health state of the check state. Can be CLEAR
, DEVIATING
or CRITICAL
.
topology_element_identifier
yes
Identifier of the component or relation the check state will be attached to.
message
no
Additional descriptive message of the check state.
The configured collection_interval
will be used as the . Make sure that the value set for the collection_interval
matches the time that the check will take to run.
The delimiter used in the CSV file can be specified when you on StackState Agent V3.