The webrockit-checksync application allows you to sync data from webrockit to sensu-server.
Install
cd /opt
- git clone this repo
sh ext/install.sh
Building:
- Install jruby
- Run "
bundle install
" from within this repo. You may have to install bundler ("gem install bundler
") - Build running
jruby -S warble
Running:
- Copy "config/config.yml.example" to "config/config.yml" and edit settings.
- Config is also fetched out of "/opt/webrockit-checksync/config/config.yml"
java -jar webrockit-checksync.jar config/web.ru -p 8083
Use:
API provides simple methods to import checks from webrockit. Future improvements will do more of a sync, rather than removing/adding everything.
GET http://127.0.0.1:8083/v1/importByType?type=sometype
GET http://127.0.0.1:8083/v1/importAll
GET http://127.0.0.1:8083/v1/loadChecks
webrockit-checksync is released under the MIT license, and bundles other liberally licensed OSS components License
Third Party Software