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:
    wget 'https://dl.bintray.com/stackstate-agent/stackstate-agent-deb-repo/pool/s/stackstate-agent/stackstate-agent_1.2.18-1_amd64.deb'
  2. 2.
    Use dpkg to install the downloaded package:
    dpkg -i stackstate-agent_1.2.18-1_amd64.deb
  3. 3.
    Set the following keys in the stackstate.conf.example file:
    api_key: {{config.apiKey}}
    dd_url: {{config.baseUrl}}/stsAgent/
  4. 4.
    After this the example configuration can be used as configuration.
    cp /etc/sts-agent/stackstate.conf.example /etc/sts-agent/stackstate.conf
  1. 1.
    Download the API-Integration Agent from Bintray or run this command on the machine where you wish to install the Agent:
    wget https://dl.bintray.com/stackstate-agent/stackstate-agent-yum-repo/stackstate-agent_1.3.0-1.x86_64.rpm
  2. 2.
    Use rpm to install the downloaded package:
    rpm -i stackstate-agent_1.3.0-1.x86_64.rpm
  3. 3.
    Set the following keys in the stackstate.conf.example file:
    api_key: {{config.apiKey}}
    dd_url: {{config.baseUrl}}/stsAgent
  4. 4.
    After this the example configuration can be used as configuration.
    cp /etc/sts-agent/stackstate.conf.example /etc/sts-agent/stackstate.conf
If you need further assistance, our support team will be glad to help.
Last modified 1yr ago