Giter Site home page Giter Site logo

zimbres / uptimekumaremoteprobe Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 4.0 133 KB

A remote probe, implemented in C#, designed to interface with the 'Push' monitor type in Uptime Kuma

License: MIT License

Dockerfile 1.89% C# 98.11%
csharp asp-net uptime-kuma remote-probe docker

uptimekumaremoteprobe's Introduction

Publish .CodeQL

Uptime Kuma Remote Probe

Uptime Kuma repository https://github.com/louislam/uptime-kuma


Pre built container

https://hub.docker.com/r/zimbres/uptime-kuma-remote-probe


Services configuration is done by editing the file appsettings.json and restarting application.

"UpDependency": "192.168.1.1" should be a trustable IP in your network, your ISP gateway for example. In case of this IP is not available, no other checks will be executed.

"Delay": 60000 is the delay time between checks. It is expressed in milliseconds, in this example 1 minute between each round.


From version > 3.0 the services configuration is not done by adding it to appsettings.json, services to be executed on the probe will be auto discovered by tags set in UK.

Username and Password for UK need to be set on appsettings.json "Configurations.Username/Password" also UK Url. Account with 2FA is not supported.

Ex:

  • Tag Name: "Probe" / Tag Value: "House" -> This value also must be set in appsettings.json on field "Configurations.ProbeName"
  • Tag Name: "Type" / Tag Value: "Ping"
  • Tag Name: "Address" / Tag Value: "1.1.1.1"
  • Tag Name: "Domain" / Tag Value: "domain.com"
  • Tag Name: "Method" / Tag Value: "GET"
  • Tag Name: "CertificateExpiration" / Tag Value: "7"

image


Available monitors type are:

  • Ping
  • Http, with or whithout Keyword. Tag Name "Keyword" must be applied to also check this
  • Tcp
  • Certificate
  • Database
  • Domain

Tags and Values are case sensitive.

Service for Domain check is Whois Json. You need an account and replace the "WhoisApiToken" field with your token on appsettings.json.

This service has a api call limit of 500 per month, this would be enough since this check will run once a day only, or at the probe restart.

By default if the domain expiration date is < 30 days, probe will not push to UK and generate an alert.


Pré compiled package is available for Windows and Linux. It requires .Net Runtime 8.x.

Download .NET 8.0

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.