Skip to content

dev-threads/Uptime-Kuma-Report

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 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]
  -a, --aim FLOAT RANGE  Indicate target availability percentage with a red
                         line  [0<=x<=100]
  --help                 Show this message and exit.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%