Agent V1 (legacy)
StackState Self-hosted v5.1.x
Agent V1 (legacy) will be deprecated in a future release of StackState.
If you are still running Agent V1 (legacy), it's advised that you upgrade to Agent V2 or V3 and migrate all checks to run on Agent V2 / V3.
Overview
Prior to StackState v5.1, Agent V1 (legacy) was used to run checks that connect to Splunk to retrieve metrics and events data. From StackState v5.1, all Agent checks run on StackState Agent V3.
StackState Agent V1 (legacy) is open source: View the source code on GitHub.
Installation
Agent V1 (legacy) will be deprecated in a future release of StackState.
It's advised that you install Agent V2 or V3 and migrate all checks to run on Agent V2 / V3.
Install StackState Agent V1 (legacy) by using the following sequence of steps:
Download the StackState Agent V1 (legacy) Debian package or run this command on the machine where you wish to install the Agent:
Use
dpkg
to install the downloaded package:Set the following keys in the
stackstate.conf.example
file:After this the example configuration can be used as configuration.
If you need further assistance, our support team will be glad to help.
Start / stop / restart the Agent
Commands require elevated privileges.
Restarting StackState Agent V1 (legacy) will reload the configuration files.
To manually start, stop or restart StackState Agent V1 (legacy):
Status and information
To check if StackState Agent V1 (legacy) is running:
To receive information about the StackState Agent V1 (legacy) state:
Tracebacks for errors can be retrieved by setting the -v
flag:
Troubleshooting
Try running the info command to see the state of StackState Agent V1 (legacy).
Logs for the subsystems are in the following files:
/var/log/stackstate/supervisord.log
/var/log/stackstate/collector.log
/var/log/stackstate/stsstatsd.log
/var/log/stackstate/forwarder.log
If you are still having trouble, contact our support team on the StackState support site.
See also
Last updated