Skip to content

raynigon/ping-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ping Monitor

Ping Monitor Screenshot

A simple application to monitor network uptime at home. I used this to determine when connection to my ISP was instable. This setup starts three docker containers. Grafana for UI, InfluxDB as storage and a python docker container, containing a small skript which sends ICMP pings and stores the results in the InfluxDB.

Prerequisites

  • Docker
  • Docker Compose
  • Python 3

Installation

  1. Clone Repository
  2. Run python3 generate.py
  3. Run docker-compose up -d
  4. Open Grafana http://localhost:3000
  5. Use the credentials to login into grafana from the generate .env file in the root of the repository

Metrics

Currently following metrics are supported:

  • active: Flag which indicates if a connection was possible
    • 0: connection failed
    • 1: connection was ok
  • round_trip_time_max: Longest running ping in a batch (in ms)
  • round_trip_time_min: Shortest running ping in a batch (in ms)
  • round_trip_time_avg: Average RTT for a batch (in ms)

Used Libraries

About

Simple Setup to Monitor Ping Responses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published