On 12/09/2007, <[EMAIL PROTECTED]> wrote:
>
> Hi EveryBody,
> Actually in my project, the snmpd process will be running.
> Due to some reason if it gets killed, then can be it be self-started again.

If the snmpd program falls over, then it can't re-start itself
(because it's not running).  So you'd have to have some form
of external monitor, to watch for problems, and restart it.


> I know that if the workstation reboots, snmpd will self-start.
> But for my requirement, it has to self-start when the workstation is running.

You haven't said anything about the O/S that you are using.
But try setting up a cron job or similar that did something like:

     /etc/init.d/snmpd status ||  /etc/init.d/snmpd  restart

If you ran that every five minutes, then it should spot when
the agent fell over, and restart it.

Obviously, you will have to experiment to find the appropriate
commands for your setup.   But the basic idea should work.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to