Static Health

StackState curated integration

This page describes StackState v4.4.x.

The StackState 4.4 version range is End of Life (EOL) and no longer supported. We encourage customers still running the 4.4 version range to upgrade to a more recent release.

Go to the documentation for the latest StackState release.

Overview

The Static Health integration is used to visualize static health information in StackState by reading from CSV files. The health consists of check states.

Setup

Prerequisites

To set up the Static Health integration you will need to have:

  • StackState Agent V2 installed on a machine that can connect to StackState.

Configure

To configure the StackState Agent to read CSV health files:

  1. 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.

      init_config:
      
      instances:
      - type: csv
       health_file: /path/to/health.csv
       delimiter: ';'
  2. Restart the StackState Agent(s) to apply the configuration changes.

  3. Once the Agent has restarted, wait for the Agent to collect data from the specified health CSV file and send it to StackState.

CSV file format

Fields

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.

Field name
Mandatory
Description

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.

check_state_id,name,health,topology_element_identifier,message
check_1,Example check,critical,urn:component/some_component,Something went wrong
check_2,Another example check,clear,urn:component/some_component,This is going well

Delimiter

The delimiter used in the CSV file can be specified when you configure the Static Health check on the StackState Agent.

See also

Last updated