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.
Install the API-Integration StackPack by using the following sequence of steps:
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'
Use dpkg
to install the downloaded package:
dpkg -i stackstate-agent_1.2.18-1_amd64.deb
Set the following keys in the stackstate.conf.example file:
api_key: {{config.apiKey}}dd_url: {{config.baseUrl}}/stsAgent/
After this the example configuration can be used as configuration.
cp /etc/sts-agent/stackstate.conf.example /etc/sts-agent/stackstate.conf
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
Use rpm
to install the downloaded package:
rpm -i stackstate-agent_1.3.0-1.x86_64.rpm
Set the following keys in the stackstate.conf.example file:
api_key: {{config.apiKey}}dd_url: {{config.baseUrl}}/stsAgent
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.