GithubHelp home page GithubHelp logo

coliquio / lastmile Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 368 KB

Monitors edge location connectivity and reports back to central prometheus.

License: MIT License

Dockerfile 0.31% JavaScript 93.28% Shell 6.41%
monitoring prometheus pushgateway uptime availability prometheus-pushgateway hacktoberfest lastmile

lastmile's Introduction

Lastmile

https://travis-ci.com/coliquio/lastmile.svg?branch=master

Monitors edge location connectivity and reports back to central prometheus.

docs/concept.png

Install as Cron service

This installs to root crontab.

curl https://raw.githubusercontent.com/coliquio/lastmile/master/cron-service/installer.sh | \
  PUSHGATEWAY_URL=<path-to-prometheus> \
  PUSHGATEWAY_AUTH=<user>:<pass> \
  PROBES_CONFIG_URL=https://raw.githubusercontent.com/coliquio/lastmile/master/example/probes.json \
  ENVIRONMENT=local \
  INSTANCE=lastmile \
  INSTANCE_ADDRESS=`ip -o -4 address show  | awk 'NR==2 { gsub(/\/.*/, "", $4); printf $4 }'` \
  bash

Run Test Environment

docker-compose up

Run local example/probes.json without prometheus

npm run example

Probe Configuration

HTTP

{ "url": "http://example.com" }

HTTPS

{ "url": "https://example.com" }

DNS

{ "type": "dns", "host": "www.example.com" }

CI Environment

https://travis-ci.com/coliquio/lastmile.svg?branch=master

See https://travis-ci.com/coliquio/lastmile

License

See LICENSE.

Disclaimer

This is a project for the community, from developers for developers. This is NOT an official coliquio product. I.e. Maintenance and support are provided by the individual developers but not officially by coliquio.

lastmile's People

Contributors

bsingr avatar dependabot[bot] avatar intigabriel avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

bsingr

lastmile's Issues

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.