Giter Club home page Giter Club logo

raintank-probe's Introduction

raintank-probe

Raintank probe package written in GO.

The raintank-probe provides the execution of periodic network performance tests including HTTP checks, DNS and Ping. The results of each test are then transfered back to the Raintank API where they are processed and inserted into a timeseries database.

To run your own private probe follow these steps.

  1. Add the new probe via the raintank portal.
  • navigate to the probes page then click on the "New Probe" button at the top right of the screen.
  • enter a unique name for the probe and click the "add" button.
  1. If you dont already have a Grafana.Net apiKey, create one.
  2. Install the probe application - 4 options

a.) Use Deb Package. Available for Ubuntu 14.04, Ubuntu 16.04, Debian Jessie

  • add PackageCloud to repo.
curl -s https://packagecloud.io/install/repositories/raintank/raintank/script.deb.sh | sudo bash
  • Install raintank-probe package
apt-get install raintank-probe
  • Edit the configuration file in /etc/raintank/probe.ini using the Probe name from step 1 and apiKey from step2
log-level = 2
name = <PROBE Name>
server-url = wss://worldping-api.raintank.io/
tsdb-url = https://tsdb-gw.raintank.io/
api-key = <Your Grafana.net ApiKey>
  • start the collector
service raintank-probe start

b.) Use RPM Package. Avalailable for Centos 6 and Centos 7 (and compatilble distrobutions.)

  • add PackageCloud to repo.
curl -s https://packagecloud.io/install/repositories/raintank/raintank/script.rpm.sh | sudo bash
  • Install raintank-probe package
yum install raintank-probe
  • Edit the configuration file in /etc/raintank/probe.ini using the Probe name from step 1 and apiKey from step2
log-level = 2
name = <PROBE Name>
server-url = wss://worldping-api.raintank.io/
tsdb-url = https://tsdb-gw.raintank.io/
api-key = <Your Grafana.net ApiKey>
  • start the collector
service raintank-probe start

c.) Use the Docker image.

  • launch the container with the below command, inserting the probe name from step1 and the apiKey from step2
docker run -e RTPROBE_API_KEY=<Your Grafana.net ApiKey> -e RTPROBE_NAME=<PROBE name> raintank/raintank-probe 

d.) Manual build of Raintank probe (Great for those wishing to test and contribute)

go get -d github.com/raintank/raintank-probe
cd $GOPATH/github.com/raintank/raintank-probe
go install -ldflags "-X main.GitHash=$(git describe --long --always)" 
  • Create a config with the probe name created in step 1 and the ApiKey created in step 2.
log-level = 2
name = <PROBE Name>
server-url = wss://worldping-api.raintank.io/
tsdb-url = https://tsdb-gw.raintank.io/
api-key = <Your Grafana.net ApiKey>
  • Then start the app.
raintank-probe -config <path to your config>

raintank-probe's People

Contributors

woodsaj avatar dancech avatar ctdk avatar dieterbe avatar awilliams avatar aalubin avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.