Nagios aka Netsaint plugins

Hi guys, I'm looking for a Nagios plugin which monitors selected processes and if they die, restarts them.

Does anyone have such a plugin\script, or could anyone point me in the right direction?

Cheers
Jamie

For what OS?

Sorry, Solaris 9 - Sparc

define service{
use test
service_description CASE_CHANGING_SCRIPT test1.pl
check_command check_named_proc!0!0!test1.pl!
}

Is there anything I can add to this statement to restart it when it cant find the test1.pl