On Thu, 13 Dec 2001, Tom Scanlan wrote:
> i don't see how process.monitor does anything similar to what i am
> suggesting. as far as i can tell, process.monitor is just checking to see
> if processes are still alive.
the ucd snmpd can be configured to restart processes:
Directives
[...]
procfix NAME PROG ARGS
This registers a command that knows how to fix
errors with the given process NAME. When
1.3.6.1.4.1.2021.2.102 for a given NAMEd program is
set to the integer value of 1, this command will be
called. It defaults to a compiled value set using
the PROCFIXCMD definition in the config.h file.
> i'm shooting for something along the lines of getting mon to fail over
> routes, restart a dead process, put a "sorry, service is unavailable"
> page on a web server, or to take some other action based on the service
> you are watching.
sure, there's nothing to stop you from writing an alert which does just
that.