The Spectrum Agent is a piece of software that runs on your hosts. Its job is to collect metrics from your servers (such as CPU, Memory, Network, and more) and store them in Spectrum so that you can use them for monitoring, alerting and analytics purposes.
- The Agent can run on Linux based servers
- Python must be installed
- Psutil - Can be installed using:
sudo yum install gcc python-devel python-pip pip install psutil
Download and Install the agent
sudo pip install spotinst-agent
Initializing the Agent
sudo spotinst-agent init <Token> <AccountID>
Add System Collector
Add system collector to report system metrics to Spectrum from your hosts.
sudo spotinst-agent add-collector system
List of Collectors and metrics aviable per collector:
Use this command to validate that the agent is running properly.
sudo service --status-all | grep spotinst-agent