collectdmon: Added a small daemon monitoring collectd.
authorSebastian Harl <sh@tokkee.org>
Sun, 25 Nov 2007 13:54:05 +0000 (14:54 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 4 Dec 2007 09:04:44 +0000 (10:04 +0100)
commit69e5d982e7adf27a0eca6e6431f748f4913d80ac
treef54ed5c8561adb7a152060e6ca96e40df819717e
parentf22061748dedac4e2a0d30680ce734bd4685c199
collectdmon: Added a small daemon monitoring collectd.

This is a small "wrapper" daemon which starts and monitors the collectd
daemon. If collectd terminates it will automatically be restarted, unless
collectdmon was told to shut it down.

Current features:

 * restarting the daemon
 * logging to syslog
 * detection of quickly, repeatedly respawning processes
   (similar to SysV init)

collectdmon is similar to mysqld_safe.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/Makefile.am
src/collectdmon.c [new file with mode: 0644]