Skip to content

osh/ping-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ping Monitor

A real-time network connectivity monitor with a cyberpunk-themed GUI built in Python using PyQt5 and pyqtgraph.

Features

  • Real-time ping monitoring - Continuously pings a target host and displays latency
  • Cyberpunk UI - Dark theme with neon cyan and pink colors
  • Live graph - Real-time visualization of ping latency over time
  • Status indicator - Color-coded status (cyan for good, pink for poor/failed)
  • Always on top - Window stays visible above other applications
  • Configurable target - Ping any IP address or hostname
  • Adjustable interval - Set custom ping intervals

Requirements

  • Python 3.6+
  • PyQt5
  • pyqtgraph

Installation

  1. Clone or download this repository
  2. Install dependencies:
    pip install -r requirements.txt

Usage

Basic Usage

python ping_monitor.py

With Custom Target and Interval

python ping_monitor.py --target google.com --interval 2

Command Line Options

  • --target, -t: Target IP address or hostname to ping (default: 8.8.8.8)
  • --interval, -i: Ping interval in seconds (default: 5)
  • --help, -h: Show help message

Examples

Monitor Google's DNS server every 2 seconds:

python ping_monitor.py -t 8.8.8.8 -i 2

Monitor your router with default 5-second interval:

python ping_monitor.py -t 192.168.1.1

Interface

  • Status Indicator: Circular indicator showing connection status
    • Cyan: Good connectivity (≤500ms)
    • Pink/Red: Poor connectivity (>500ms) or failed
  • Ping Display: Current latency in milliseconds
  • Target Display: Shows the target being monitored
  • Graph: Real-time plot of ping history (last 50 pings)
    • Dashed line at 500ms indicates the threshold for good/poor status

License

MIT License - see LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages