Skip to content

a simple tool to get a report chart of uptime of monitors in Uptime Kuma

Notifications You must be signed in to change notification settings

MrT3acher/Uptime-Kuma-Report

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Uptime-Kuma-Report

Install

Simply clone and install requirements:

pip install -r requirements.txt

Use

For a report of the last 30 days:

# Spins up a web server to show the results in a new browser window
python -m kumareport --db kuma.db -d 30

# Renders the report to a standalone HTML file
python -m kumareport --db kuma.db -d 30 > report.html

This is the usage help:

Usage: python -m kumareport [OPTIONS]

  Spins up a web server to show an uptime report for the given Uptime-Kuma
  database. Redirect stdout to a file to create a standalone HTML file
  instead.

Options:
  -c, --caption TEXT  Optional chart title
  -t, --tag TEXT      Tagname of the monitors to include in the report
  --db FILENAME       Uptime Kuma database path.  [required]
  -d, --days INTEGER  Number of days to report.  [required]
  --help              Show this message and exit.

About

a simple tool to get a report chart of uptime of monitors in Uptime Kuma

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%