If you are using Solaris 10 then use the services group of tools (svcs,
svcadm). This will do what you require.

|\/|artin

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Hari Sekhon
> Sent: 12 September 2007 11:20
> To: Jayanthi Pachaiyappan
> Cc: [email protected]
> Subject: Re: To self start snmpd when it is killed.
> 
> 
> what about putting the snmp daemon under init or daemontools? You can 
> use this instead of a startup script.
> 
> either of these can immediately restart processes when they die.
> 
> -h
> 
> Hari Sekhon
> 
> 
> 
> Jayanthi Pachaiyappan 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.
> > 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.
> > Please help me in this regard.
> >
> > Regards,
> > Jayanthi P
> >
> > ***********************  Aricent-Private   ***********************
> > "DISCLAIMER: This message is proprietary to Aricent and is intended 
> > solely for the use of
> > the individual to whom it is addressed. It may contain 
> privileged or confidential information and should not be 
> > circulated or used for any purpose other than for what it 
> is intended. If you have received this message in error, 
> > please notify the originator immediately. If you are not 
> the intended recipient, you are notified that you are strictly
> > prohibited from using, copying, altering, or disclosing the 
> contents of this message. Aricent accepts no responsibility for 
> > loss or damage arising from the use of the information 
> transmitted by this email including damage from virus."
> >         
> >
> > 
> ----------------------------------------------------------------------
> > --
> >
> > 
> ----------------------------------------------------------------------
> > ---
> > 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
> >   
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005. 
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/d> irect/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
> 


*************************************************************************************
The message is intended for the named addressee only and may not be disclosed 
to or used by anyone else, nor may it be copied in any way. 

The contents of this message and its attachments are confidential and may also 
be subject to legal privilege.  If you are not the named addressee and/or have 
received this message in error, please advise us by e-mailing [EMAIL PROTECTED] 
and delete the message and any attachments without retaining any copies. 

Internet communications are not secure and COLT does not accept responsibility 
for this message, its contents nor responsibility for any viruses. 

No contracts can be created or varied on behalf of COLT Telecommunications, its 
subsidiaries or affiliates ("COLT") and any other party by email Communications 
unless expressly agreed in writing with such other party.  

Please note that incoming emails will be automatically scanned to eliminate 
potential viruses and unsolicited promotional emails. For more information 
refer to www.colt.net or contact us on +44(0)20 7390 3900.


-------------------------------------------------------------------------
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