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
=============
Raw data
{
"_id": null,
"home_page": "https://github.com/spotinst/spotinst-spectrum-agent",
"name": "spotinst-agent",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "spotinst agent infrastructure monitoring execution deployment",
"author": "Spotinst",
"author_email": "service@spotinst.com",
"download_url": "https://files.pythonhosted.org/packages/c3/2b/e5d260c1ad3b1f4f795e6362b524dcd593192e728d5f51696444a14e75aa/spotinst-agent-1.1.260.tar.gz",
"platform": null,
"description": "Agent\n=======\n\nSpotinst Agent executor provides a mechanism to run remote shutdown scripts on machine using polling architecture.\n\nNote:\nThe agent must have token to communicate with spotinst API.\nThe credentials ini that holds the token file must be located at: '/root/.spotinst/credentials'\n\nApplication\n===========\n\nManual Executing\n~~~~~~~~~~~~~~~~\nThe simplest way to run the agent is by './agent' that start and write basic logs to /var/log/messages/agent.log\n\nOtherwise, you can use the following options:\n\nUsage: ./agent [options]\n\n-c --config Use alternate configuration yml file.\n-l --log Use alternate Log file for output.\n-t --test Test run. Do not run remote script.\n-v --verbose verbose log\n--stdout redirect output to stdout\n--debug run with dummy credentials for debug purposes\n\nConfiguration\n~~~~~~~~~~~~~\nThere are two levels of configuration representing in yml files.\nThe global configuration 'agent.yml' is responsible of the agent framework and necessary params.\nThe worker configuration, located at the workers folder is responsible of the specific workers parameters.\n\n\nMAKEFILE\n~~~~~~~~~~~~~\nrun 'make release'\noutput file is located in the /dist folder\n\nDocumentation\n=============",
"bugtrack_url": null,
"license": "MIT",
"summary": "Spectrum instance spotinst-agent that is able to run remote scripts, collect data, deploy applications and more.",
"version": "1.1.260",
"project_urls": {
"Homepage": "https://github.com/spotinst/spotinst-spectrum-agent"
},
"split_keywords": [
"spotinst",
"agent",
"infrastructure",
"monitoring",
"execution",
"deployment"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c32be5d260c1ad3b1f4f795e6362b524dcd593192e728d5f51696444a14e75aa",
"md5": "c57a21483e87702c2b977dfec47f25f0",
"sha256": "4876ff5c2bdbdcc37ae79165d2070f36c748502268f616cae1e5684ce1237b90"
},
"downloads": -1,
"filename": "spotinst-agent-1.1.260.tar.gz",
"has_sig": false,
"md5_digest": "c57a21483e87702c2b977dfec47f25f0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 18530,
"upload_time": "2024-06-23T08:29:15",
"upload_time_iso_8601": "2024-06-23T08:29:15.677305Z",
"url": "https://files.pythonhosted.org/packages/c3/2b/e5d260c1ad3b1f4f795e6362b524dcd593192e728d5f51696444a14e75aa/spotinst-agent-1.1.260.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-23 08:29:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "spotinst",
"github_project": "spotinst-spectrum-agent",
"github_not_found": true,
"lcname": "spotinst-agent"
}