Lightweight Flask API for Linux monitoring https://www.benrmorgan.com
Find a file
2023-08-21 18:53:45 -06:00
.gitignore init 2023-08-21 00:55:21 -06:00
main.py init 2023-08-21 00:55:21 -06:00
README.md Update README.md 2023-08-21 18:53:45 -06:00

MetricsAPI

Lightweight Flask API for Linux monitoring

Overview

MetricsAPI is an extremely lightweight API built with Flask that I created to monitor my home server setup. Personally, I display these metrics on a Rainmeter dashboard, but you can choose to create anything you like.

Features

  • Lightweight
  • Status webpage
  • Per-core and packaged CPU metrics
    • Model name
    • Address sizes
    • Processor speed
    • User, system, idle, etc. load measures.
  • Temperature data
    • CPU
    • Motherboard
    • ... and more (depends on your machine)
  • Volume information
    • Space remaining
    • Read/written
    • Read/write per second
  • IP addresses

Future Work

  • Network up/down

Installation

Dependencies

To run MetricsAPI you will need to install Flask.

MetricsAPI gets its data from shell commands. You will need to install the following with you package manager: sysstat sensors