Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Periodically return status of host as a HTTP response.

License

Notifications You must be signed in to change notification settings

unquietwiki/pingh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pingh

pingh checks the system for specific conditions, and reports back to an HTTP endpoint as a "heartbeat" mechanism. It is intended to be compatible with Better Stack and other services that support simple GET requests.

Examples

Other flags: --debug (-d), --help (-h), --version (-v)

Running on Linux

  1. Edit the pingh.service file to the settings you wish to use.
  2. Copy the provided pingh.service file to /etc/systemd/system/
  3. systemctl enable pingh.service && systemctl start pingh.service

Running on Windows

  • Task Scheduler can work, but may not be stable. Modify the included XML file, and import to Task Scheduler to try this.
  • You may have better luck using nssm; on a Windows 11 host, it can be installed via winget. "nssm install" -> provide it a name (ex: PINGH), the location of the EXE, the parameters, and a friendly service name (ex: Pingh Heartbeat Monitor). Then start it from the Services window.

Changelog

  • 2025.11.18.1 -> Selective semi-automated fixes with Claude Code; revamped build/package logic.
  • 2025.06.02.2 -> Used Claude Sonnet 4 to validate code & rebuild check logic; added a "debug" option & made the output less verbose by default; ping URL check now has a 10 second timeout.
  • 2025.03.22.2 -> Added test for open TCP socket & minor fixes.
  • 2025.03.22.1 -> Added test for running process.
  • 2025.03.21.1 -> Initial Release

About

Periodically return status of host as a HTTP response.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages