Skip to content

mahmoudhamadeh/was-110-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WAS-110 Monitoring Dashboard

This project provides a lightweight web dashboard for real-time monitoring of metrics from the WAS-110 SFP stick. It’s designed to be deployed easily using Docker and runs on a local network with minimal configuration.

Live Dashboard Preview

File Structure

was-110-monitoring
├── app.py                  # Python Flask backend application
├── Dockerfile              # Docker image build instructions
├── requirements.txt        # Python dependencies
├── static/                 # Static web files
│   └── index.html          # Frontend HTML/JavaScript dashboard
├── .env                    # Environment variables (sensitive data)
└── compose.yaml            # Docker Compose configuration file

Run Using Prebuilt (Docker Image)

Pull and run the latest image from Docker Hub:

services:
  was-110-monitor:
    container_name: sfp_monitor
    restart: unless-stopped
    ports:
      - "5050:5050"
    environment:
      - SFP_ROOT_PASSWORD=YOUR_PASSWORD
      - FETCH_INTERVAL_SECONDS=30
    volumes:
      - sfp_data_volume:/data
    image: mhamadeh/was-110-monitor:latest
volumes:
  sfp_data_volume:

or

docker run -d \
  --name sfp_monitor \
  -e SFP_ROOT_PASSWORD=YOUR_PASSWORD \
  -e FETCH_INTERVAL_SECONDS=30 \
  -p 5050:5050 \
  -v sfp_data_volume:/data \
  mhamadeh/was-110-monitor:latest

Build From Source (GitHub)

Clone the Repository

git clone https://github.com/yourusername/was-110-monitoring.git
cd was-110-monitoring` 

Build the Docker Image

docker build -t was-110-monitor:local .

Run the Container

docker run -d \
  --name sfp_monitor \
  -e SFP_ROOT_PASSWORD=YOUR_PASSWORD \
  -e FETCH_INTERVAL_SECONDS=30 \
  -p 5050:5050 \
  -v sfp_data_volume:/data \
  was-110-monitor:local

Dashboard Access

Once running, open your browser and visit:

http://localhost:5050

Volume Persistence

The container stores 24 hours rolling historical data in, history retained across restarts.

/data/sfp_history.json

About

dashboard for monitoring WAS-110 SFP stick metrics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published