If you use Net-SNMP, you could set up a script to 'heal' the process by restarting it. Check the proc directive in snmpd.conf.
The only problem is that there is no way to tell which host in a host group is down at this point with mon.. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Liu Sent: Monday, June 30, 2003 7:56 PM To: [EMAIL PROTECTED] Subject: remotly start service by mon If i use mon on server1 to monitor some services(like httpd, dhcpd) on another server2, sometime I need only remotly restart those services on server2, that means if server1(mon) detects httpd is not running on server2 then it excute alert file and remotly restart httpd on server2. Can somebody give me some suggestions how can i do that, like how to write alert file. I really appreciate your help. Eric _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon _______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon
