Registrations with limited permissions are open. Reach out if you want to host your code here.
Simple monitoring for anyone!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
z31t d195a25d26 #20 - update README - add template of single entry 1 month ago
output init 1 month ago
templates Test for auto-refresh #17 1 month ago
README.md #20 - update README - add template of single entry 1 month ago
logo.png init 1 month ago
mntr.py #20 Change variables to match restructure of servicedb 1 month ago
requirements.txt #11 prepf for deployment 1 month ago
servicedb.yaml #20 - changed db - add `id`, `domain` 1 month ago

README.md

logo

MNTR

Simple monitoring for anyone!

Status: POC

Only tested on Linux (Ubuntu).

Live version

Live version over at status.itt.sh

Deploy

Should work::
git clone https://whatbug.org/itt.sh/mntr.git
cd mntr
python3 -m venv .venv # You might have to install python3-venv
source ./.venv/bin/activate
pip3 install -r requirements.txt
python3 mntr.py

NOT TESTED YET

Current db structure per entry

- id: id001
  name: whatbug.org
  desc: Gitea instance
  domain: whatbug.org
  url: https://whatbug.org
  ip: 95.217.177.87
  ports: [22,443]
  warning:
  info:

Functions

  • Auto-refresh every 30 seconds (meta tag in templates/1_header.html

General idea

Create simple and easy to modify monitoring tool with HTML output.

Importing list of hosts from servicedb.yaml, check via ping und curl the availability, insert resulst intp the template, generate index.html to output.

It is not running as a service but as a cronjob whenever you want.

Upcoming:

  • History page for every service

  • Notification function via various functions

  • logs

  • Port scans

  • SNMP

  • SSL check

  • Multilingual output

Contribute

Open an issue, a pull-request or send an e-mail to the address in the footer of the site.

Overview

mntr.py:
main Python3 script.
servicedb.yaml:
list of hosts, services, ports
templates:
1_header.html - for all header information
2_content.html - main content added from the main function
3_footer.html - general footer content
output:
directory for the output

License & Notice

Prob MIT License