Age | Commit message (Collapse) | Author | Files |
|
|
|
|
|
* NEWS: Update.
* README: Update.
* configure.ac: Version 0.5.90
* doc/ping903q.1: Update.
* src/ping903q.c: Disallow the use without arguments.
New option -a: query statistics for "all" monitored IPs.
|
|
* NEWS: Update.
* configure.ac: Raise version number.
* examples/lib/LWP/Ping903.pm: Remove.
* examples/README: Mention Mangemanche. Remove references to
lib/LWP/Ping903.pm
* examples/dbload: Revert to LWP::UserAgent
* examples/inspect: Likewise.
* examples/ipadd: Likewise.
* examples/ipdel: Likewise.
|
|
|
|
* Makefile.am (SUBDIRS): Add lib
* configure.ac: Build lib/Makefile
* lib/Makefile.am: New file.
* lib/apr.c: New file.
* lib/basicauth.c: New file.
* lib/basicauth.h: New file.
* lib/md5.c: New file.
* lib/md5.h: New file.
* lib/sha1.c: New file.
* lib/sha1.h: New file.
* src/Makefile.am: Add lib to the include path
* src/config.c: New statement "auth".
* src/ping903.c: Implement basic auth.
* src/ping903.h (cf_auth): New proto.
|
|
|
|
* NEWS: Update.
* README: Update.
* THANKS: Update.
* doc/ping903.8: Spell checking.
* doc/ping903q.1: Likewise.
* src/Makefile.am: Distribute ping903.conf
* src/ping903.h (HOST_STAT_INIT)
(HOST_STAT_VALID,HOST_STAT_PENDING)
(HOST_STAT_INVALID): New constants.
(host_stat): New member "status".
(host_stat_is_valid): Rewrite using status.
* src/ping903q.c: "status" is string now. Handle particular values.
* src/pinger.c: Maintain current status of each host_stat structure in
the status member.
(host_stat): Mark object as valid.
(host_reset): Update status.
(get_host_stat): Report object validity in the "validity" member,
and its current status in "status" (string).
* src/json.c: Implement json_value_copy.
* src/json.h (json_value_copy): New proto.
* src/ping903.c (ept_config): Return particular setting, if
so requested.
|
|
|
|
|
|
* configure.ac: Use AM_PROG_AR
* src/config.c: rename "interval" to "ping-interval".
New statement: "probe-interval".
(readconfig): Signal error if ping_count probes don't fit into
probe_interval.
* src/ping903.conf: Update.
* src/ping903.h (host_stat): Rename "tv" to "start_tv".
New member: "stop_tv".
* src/pinger.c (probe_interval): New global.
(sendq_enqueue_unlocked): Remove.
(sendq_enqueue): Set xmit_tv to the time when this host should be
probed again.
(sendq_dequeue): Sleep until the right ping time.
(p903_sender): Don't lock sendq_mutex. This is done by sendq_dequeue.
(host_stat): Save start_tv and stop_tv.
(get_host_stat): Format stop-timestamp and recv-timestamp.
* src/main.c: Use sysexits.
* src/ping903q.c (print_host_status): Use stop-timestamp and
recv-timestamp to calculate duration.
|
|
* configure.ac: Test for ranlib
* src/.gitignore: Update.
* src/ping903q.c: New file.
* src/Makefile.am: Build ping903q
* src/defs.h: New file.
* src/mem.h: New file.
* src/json.h (json_2nrealloc): New proto.
* src/config.c: New statement: "access-log-verbose"
Change error codes to positive values.
* src/main.c: Use DEFAULT_CONFIG_FILE instead of hardcoding the
file name.
* src/ping903.c: Log json object only if access-log-verbose has
been requested.
* src/ping903.conf: Document access-log-verbose
* src/ping903.h (HOSTADDR): Rename tv to xmit_tv.
New member: start_tv.
* src/pinger.c: Keep the time when first packet has been sent in
the start_tv member.
|
|
|