snap-deploy
Getting Started
System Requirements
Linux/MacOS/*BSD system
Download binary:
You can get the pre-built binaries for your OS and architecture from the GitHub Releases page. Download the plugin from the latest release and load it into /opt/local/bin
is the default location for user binaries.
To build the snap-deploy binary:
Fork https://github.com/intelsdi-x/snap-deploy
Clone repo into $GOPATH/src/github.com/intelsdi-x/
:
$ git clone https://github.com/<yourGithubID>/snap-deploy.git
Build the snap-deploy by running make within the cloned repo:
$ make
This builds the executable file in ./build/
Documentation
Examples
For quick snap-deploy test using deployment, you can go through steps below:
- Install influxdb on your localhost InfluxDB website
- Create database "snap"
- Export variables:
export DB_HOST="localhost"
export DB_NAME="snap"
export DB_USER="snap"
export DB_PASS="snap"
export INTERVAL="1s"
export TAGS="datacenter:dublin"
export METRICS="/intel"
export PORT="8181"
export DIRECTORY="/opt/snap"
export PLUGINS="collector-psutil"
- Run snap-deploy as root
snap-deploy deploy
- Snap should be running on the port 8181 and publishing psutil metrics to the localhost influxdb database named snap.
Roadmap
As we launch this software, we do not have any outstanding requirements for the next release. If you have a feature request, please add it as an issue.
If you have a feature request, please add it as an issue and/or submit a pull request.
Community Support
To reach out to other users, head to the main framework.
Contributing
We love contributions!
There's more than one way to give back, from examples to blogs to code updates. See our recommended process in CONTRIBUTING.md.
License
Snap, along with this application, is an Open Source software released under the Apache 2.0 License.
Acknowledgements
This is Open Source software released under the Apache 2.0 License. Please see the LICENSE file for full license details.
- Author: Marcin Spoczynski
This software has been contributed by MIKELANGELO, a Horizon 2020 project co-funded by the European Union. https://www.mikelangelo-project.eu/
Thank You
And thank you! Your contribution, through code and participation, is incredibly important to us.