Static Topology
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.
What is the Static Topology StackPack?
The Static Topology StackPack reads topology information from an external CSV file and synchronizes the data with StackState.
Configuration
Static topology is read from two CSV files:
A CSV file containing components
A CSV file containing relations
Both CSV files are read to form a topology. The component and relation CSV files require a CSV header. The header specification is as follows:
Component file specification
id
- The component's unique identifiername
- The component's nametype
- The type of a component, e.g. VM, datastore, rack, etc.domain
(Optional) - The StackState domain where the component should be visualizedlayer
(Optional) - The StackState layer in where the component should be visualizedenvironment
(Optional) - The StackState environment in where the component should be visualizedAll other fields are added as meta data on the component
Note: the fields are expected to be in lowercase letters.
Relation file specification
sourceid
- The component's identifier that is used to create a relation from. The identifier has to match the component'sid
in the component CSV.targetid
- The component's identifier that is used to create a relation to. The identifier has to match the component'sid
in the component CSV.type
- The type of a relation, e.g. uses, 'depends on'
Note: the fields are expected to be in lowercase letters.
Example CSV files
Component csv:
Relation csv:
Setup
Configuration
Configure the Agent to read CSV topology files. Edit
conf.d/static_topology.d/conf.yaml
:Static topology from file
init_config:
instances:
type: csv components_file: /path/to/components.csv relations_file: /path/to/relations.csv delimiter: ';'
tags:
- optional_tag1
- optional_tag2
Restart the Agent
Configuration Options
type
- Set tocsv
for parsing CSV typed filescomponents_file
- Absolute path to CSV file containing topology componentsrelations_file
- Absolute path to CSV file containing topology relationsdelimiter
- CSV field delimitertags
(Optional) - StackState labels to add to each component and relation read from the CSV files.
Validation
Execute the info command and verify that the integration check has passed. The output of the command should contain a section similar to the following:
Checks
[...]
static_topology
instance #0 [OK]
Release notes
StaticTopology StackPack v2.3.2 (2021-05-12)
Bugfix: Use the domain, layer, environment and type coming from data in component template
StaticTopology StackPack v2.3.1 (2021-04-12)
Improvement: Common bumped from 2.5.0 to 2.5.1
StaticTopology StackPack v2.3.0 (2021-04-02)
Improvement: Enable auto grouping on generated views.
Improvement: Common bumped from 2.2.3 to 2.5.0
Improvement: StackState min version bumped to 4.3.0
StaticTopology StackPack v2.2.1 (2020-08-18)
Feature: Introduced the Release notes pop up for customer
StaticTopology StackPack v2.2.0 (2020-08-04)
Improvement: Deprecated StackPack specific layers and introduced a new common layer structure.
Improvement: Replace resolveOrCreate with getOrCreate.
StaticTopology StackPack v2.1.0 (2020-04-23)
Improvement: Upgrade the requirement and documentation of Static Topology to use AgentV2.
Last updated