Git Product home page Git Product logo

telegram-site-monitor's Introduction

Application for monitoring the availability and immutability of sites over Telegram bot

MadeGitHub Workflow Status GitHub Docker

Go (golang) application for checking and monitoring nodes through HTTP and HTTPS requests to nodes with a response code check other than '200'.

Simple use

Download the required repository;

$ git clone https://github.com/leech001/site-monitor.git

Change conf/config.yaml

Run sudo docker-compose up -d

Configure

app:
  update: 30   #time to rechecking hosts (sec)

telegram:
  token: 244516775:AAGZп55654ASsFFpbjyNA9su6gQU-Qs  #Token for you Telegram BOT
  group: 123456     # Telegram you ID or group ID (use command for BOT /start

http:
  repeat: 5   # number of rechecks
  timeout: 30  # HTTP(s) timeout (sec)
  delay: 1.5 # HTTP(s) time delay (sec)
  sites:
    - url: http://yandex.ru/   # hosts for monitoring over HTTP or HTTPS with basic auth
      elements:
        - YandexZen   # content(element) in the source code of the site page
    - url: https://example.com/ # hosts for monitoring over HTTP or HTTPS

Telegram BOT command

/start  # Print you ID or group ID need you for config
/list   # Print monitoring sites and hosts

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.