Skip to main content

Spectrum instance spotinst-agent that is able to run remote scripts, collect data, deploy applications and more.

Project description

Agent

Spotinst Agent executor provides a mechanism to run remote shutdown scripts on machine using polling architecture.

Note: The agent must have token to communicate with spotinst API. The credentials ini that holds the token file must be located at: ‘/root/.spotinst/credentials’

Application

Manual Executing

The simplest way to run the agent is by ‘./agent’ that start and write basic logs to /var/log/messages/agent.log

Otherwise, you can use the following options:

Usage: ./agent [options]

-c –config Use alternate configuration yml file. -l –log Use alternate Log file for output. -t –test Test run. Do not run remote script. -v –verbose verbose log –stdout redirect output to stdout –debug run with dummy credentials for debug purposes

Configuration

There are two levels of configuration representing in yml files. The global configuration ‘agent.yml’ is responsible of the agent framework and necessary params. The worker configuration, located at the workers folder is responsible of the specific workers parameters.

MAKEFILE

run ‘make release’ output file is located in the /dist folder

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spotinst-agent-1.1.260.tar.gz (18.5 kB view details)

Uploaded Source

File details

Details for the file spotinst-agent-1.1.260.tar.gz.

File metadata

  • Download URL: spotinst-agent-1.1.260.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/41.2.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for spotinst-agent-1.1.260.tar.gz
Algorithm Hash digest
SHA256 4876ff5c2bdbdcc37ae79165d2070f36c748502268f616cae1e5684ce1237b90
MD5 c57a21483e87702c2b977dfec47f25f0
BLAKE2b-256 c32be5d260c1ad3b1f4f795e6362b524dcd593192e728d5f51696444a14e75aa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page