Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/n0arch/heart_beat.py
Simple TCP/PING heartbeat script
https://github.com/n0arch/heart_beat.py
Last synced: about 2 months ago
JSON representation
Simple TCP/PING heartbeat script
- Host: GitHub
- URL: https://github.com/n0arch/heart_beat.py
- Owner: n0arch
- Created: 2015-09-01T07:23:40.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-01T07:28:24.000Z (about 9 years ago)
- Last Synced: 2024-07-27T16:46:05.683Z (about 2 months ago)
- Language: Python
- Size: 141 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# heartbeat.py
A simple python script with colorful output to test creating tcp connections on a given host and port.
If TCP socket connection fails, the service will attempt to ping the target.
This script requires no special modules be installed on the system.
To configure, set the SERVERS dictionary values to reflect {'host':port}
host is a string (quotes)
port is an int (no quotes)