Skip to main content

This curses based script displays a dashboard of hosts that it sends ICMP echo request packets (i.e. ping) and their responses

Project description

https://codecov.io/bb/go8ose/pingboard/branch/default/graph/badge.svg

This tool pings all the servers named on the command line, and shows you a dashboard display of which hosts are up, which are down, and how long that has been the case for. It uses raw sockets with protocol icmp, which normally requires elevated permissions. Hence you’ll typically invoke it with something like sudo

sudo pingboard www1.example.com www2.example.com

pingboard attempts uses socket.getaddinfo() to resolve your servers to IPv4 or IPv6 addresses. It only takes the first returned result. Hence you can specify an IP address (as socket.getaddrinfo() will ‘resolve’ that to the relevant IP address). But also, if your name resolves into multiple IP addresses then it may not be obvious to you which server is actually being pinged.

Instead of listing servers on the command line, you can pass a –server-list file that lists the servers. If you do this, the file format is one server per line. Any text on a line after a white space is treated as a comment for that server, and is also displayed by pingboard.

Use the –log-file option to have pingboard write a log file of events, so you can have a historical record of when servers came up and down.

For other options, run pingboard with the -h option.

Installing:

pip install pingboard

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pingboard-1.0.2.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pingboard-1.0.2-py2.py3-none-any.whl (26.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pingboard-1.0.2.tar.gz.

File metadata

  • Download URL: pingboard-1.0.2.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for pingboard-1.0.2.tar.gz
Algorithm Hash digest
SHA256 512262d72534f7e0092e9edcd0f366342cfa3d98bb81ef25e4cbd12eb0b18b7c
MD5 6f986145cbcf46fb9a3d038141e36237
BLAKE2b-256 9d6609569c76cdefc8f52db61abf497175ae6e8b25a86b708869349ab7274e1b

See more details on using hashes here.

File details

Details for the file pingboard-1.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: pingboard-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 26.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for pingboard-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0f9f73c244006ebb48dad259ac9b03526280326becdbeb533d1bed9657a1253f
MD5 3d7f0558d5848f70d17bb83d7616da61
BLAKE2b-256 7275f25e1a686a1813ca3299e709d399e56d67c887967d7d18ef81815baf2b9a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page