technical description

Dudki is a process monitoring daemon that sits silently in background and checks whether the processes he feels responsible for are running. He gets a process identifier from the file, sees if the process is alive and if not, does his best to start one. Dudki reports the actions taken to his owner via email.

Here is the sample dudki.conf configuration file:

CheckInterval 60
PidFile /var/run/dudki.pid
Daemonize on

Notify mailto:hostmaster@example.org
MailtoHeader From "Dudki <dudki@example.org>"

<Process named>
 PidFile /var/run/named.pid
 RestartCommand "exec /usr/sbin/named"
<Process>
<Process sshd>
 PidFile /var/run/sshd.pid
 RestartCommand "exec /usr/sbin/sshd"
<Process>

<Process cron>
 ProcessName cron
 RestartCommand "exec /usr/sbin/cron"
<Process>