Git Product home page Git Product logo

ovh-availability-checker's Introduction

OVH Availability Checker

This is a NodeJS application that checks for the availability of OVH / Kimsufi / SoYouStart servers (according to servers.json config file) and if they are in stock, it can trigger:

  • An email through a configured SMTP server.
  • An SMS message through Twilio.
  • A PushBullet notification.
  • Telegram notification.

Configuration

All the configuration can be made through two files:

  • .env -> Where all the credentials and other config are stored (ie: SMTP, Twilio API, Pushbullet, Telegram, etc). Create your own .env file from .env.sample.
  • servers.json -> Where you can add the OVH / Kimsufi / SoYouStart servers you want to monitor.

Run with NodeJS

# Install all dependencies:
yarn install
# or just:
yarn
# Run application
yarn start

Run with Docker

The following command will build the Docker image, based on a NodeJS Alpine image, so should have a fairly small footprint, and spin it up in the background:

docker compose up -f docker-compose.dev.yml -d

You can also use the Docker image directly from GitHub Container Registry with the following command:

docker compose up -d

You can easily use it out of the box and run it in a headless server like a cheap VPS using Docker. It will run in the background, even after you have logged out of the server.

License

MIT License

Copyright (c) 2023 Jorge Barnaby

See LICENSE

ovh-availability-checker's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar lidalao avatar yorch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ovh-availability-checker's Issues

Question about datacenter filter

Hi,
First of all congrats for such an excellent tool !

I'm just questionning how I can define alerts for specific datacenters, although I put "datacenters": ["gra", "rbx"] in the json file
but I still get unexpected emails stating availability for "Ion" DC located in GB, it sounds strange !
Any advice ?

Have a nice day

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.