https://github.com/max1220/lua_pingd
Ping daemon in Lua. Collects info from running ping command, so does not require
https://github.com/max1220/lua_pingd
lua lua-script ping
Last synced: about 1 year ago
JSON representation
Ping daemon in Lua. Collects info from running ping command, so does not require
- Host: GitHub
- URL: https://github.com/max1220/lua_pingd
- Owner: max1220
- Created: 2018-07-19T13:52:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-19T14:12:36.000Z (almost 8 years ago)
- Last Synced: 2025-02-02T13:16:18.210Z (about 1 year ago)
- Topics: lua, lua-script, ping
- Language: Lua
- Size: 662 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
lua-pingd
---------
## what is this?
This is a program that reads the output of the ping command, parses it, and provides multiple output options.
It actually uses the ping commands as it's "event loop", requiring very little CPU usage.
## installation
just clone the git repository or download & unpack the .zip.
## usage
To start the program, run `./pingd`(Does not fork to the background itself).
By default, all output formats are enabled, so you could already use the JSONs
or view the .svg graphs.
To view the HTML page, you'll need a HTTP server that supports the correct mime-type for .svg files.
The busybox httpd does not do this by default, but can be configured to do so.
The included `./start_httpd.sh` starts the busybox httpd with such a config.
For local testing you can open `html/index.html` in a browser
## configuration
See the commented default configuration.
## screenshot
This screenshot is of the rendered page.

This is just an example generated SVG graph:
