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

What is the API-Integration StackPack?

The StackState API-Integration StackPack enables the StackState synchronization for the StackState's API-Integration Agents.
With API-Integration Agents you can run checks which connect to external systems like ServiceNow.
The StackState API-Integration Agent is open source: view the source code on GitHub.

Installation

Install the API-Integration StackPack by using the following sequence of steps:
Debian, Ubuntu
Amazon linux, CentOS, Fedora, Red Hat
  1. 1.
    Download the API-Integration Agent from Bintray or run this command on the machine where you wish to install the Agent:
    1
    wget 'https://dl.bintray.com/stackstate-agent/stackstate-agent-deb-repo/pool/s/stackstate-agent/stackstate-agent_1.2.18-1_amd64.deb'
    Copied!
  2. 2.
    Use dpkg to install the downloaded package:
    1
    dpkg -i stackstate-agent_1.2.18-1_amd64.deb
    Copied!
  3. 3.
    Set the following keys in the stackstate.conf.example file:
    1
    api_key: {{config.apiKey}}
    2
    dd_url: {{config.baseUrl}}/stsAgent/
    Copied!
  4. 4.
    After this the example configuration can be used as configuration.
    1
    cp /etc/sts-agent/stackstate.conf.example /etc/sts-agent/stackstate.conf
    Copied!
  1. 1.
    Download the API-Integration Agent from Bintray or run this command on the machine where you wish to install the Agent:
    1
    wget https://dl.bintray.com/stackstate-agent/stackstate-agent-yum-repo/stackstate-agent_1.3.0-1.x86_64.rpm
    Copied!
  2. 2.
    Use rpm to install the downloaded package:
    1
    rpm -i stackstate-agent_1.3.0-1.x86_64.rpm
    Copied!
  3. 3.
    Set the following keys in the stackstate.conf.example file:
    1
    api_key: {{config.apiKey}}
    2
    dd_url: {{config.baseUrl}}/stsAgent
    Copied!
  4. 4.
    After this the example configuration can be used as configuration.
    1
    cp /etc/sts-agent/stackstate.conf.example /etc/sts-agent/stackstate.conf
    Copied!
If you need further assistance, our support team will be glad to help.
Last modified 5mo ago