A daemon for aggregating ping requests from PRTG to save sensors and use channels instead
C Other Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
README.md
TODO
pingpress.1
pingpress.c

README.md

NAME
       pingpress - ping proxy daemon

SYNOPSIS
       pingpress [-d] [-l port] [-p pidfile] [-v]

DESCRIPTION
       pingpress  is  a  simple  ping proxy daemon. It listens on TCP port and
       communicates by subset  of  HTTP  protocol.  It  takes  a  list  of  IP
       addresses  in  URL, separated by '&' character and replies with list of
       ones and zeroes for each given host, where  1  means  the  host  is  up
       (pingable) and 0 otherwise.

OPTIONS
       -d     run in background as a daemon.

       -l port
              port to listen on. Default is 8080.

       -p pidfile
              write PID into given file

       -v     print version to stderr and exit

AUTHORS
       See the LICENSE file for the authors.

LICENSE
       See the LICENSE file for the terms of redistribution.

BUGS
       See the TODO file in the distribution.

EXAMPLES
   Running as a daemon
       # pingpress -d -p /var/run/pingpress.pid

   Checking one host
       $ curl 'http://127.0.0.1:8080/8.8.8.8'
       1

   Checking multiple hosts
       $ curl 'http://127.0.0.1:8080/8.8.8.8&8.8.4.4&1.2.3.4'
       1 1 0

SEE ALSO
       curl(1)