Prakash, There was a bug in earlier versions where if you tried to start snmpd while it was already running, it would overwrite the old agentx socket before failing to open the udp transport and exiting. This would mean that if the subagent ever got disconnected, it could never reconnect.
It's kind of hard to find out if this happened, since the daemon that caused things to break didn't necessarily log anything. I think you can look at the timestamp of /var/agentx/master and compare it against the start time of the current snmpd. Bill On Fri, Jan 7, 2011 at 1:45 AM, Prakash <prakash.r...@saventech.com> wrote: > Thank Hardakar, > > I got the same situation again. > > Then I send a request to master agent but the response was "No Such Object > available on this agent at this OID" > But still my subagent process is running.. > > Can you please explain the process/steps to check weather master agent is > listening the agentx port. > > Regards, > Prakash Raju > > > A leader in technology driven business solutions > ---------------------------------------------------------------------------- > -------------------------------------- > #302 MyHome Sarovar Plaza, Hyderabad- 500 063, India > Office: +91 040 23237303 / 304 | Ext no:115 | Mobile: +91 9704912346 > email: prakash.r...@saventech.com | www.saventech.com > ---------------------------------------------------------------------------- > --------------------------------------- > > > -----Original Message----- > From: Wes Hardaker [mailto:harda...@users.sourceforge.net] > Sent: Thursday, January 06, 2011 8:08 PM > To: PrakashRaju Meka > Cc: net-snmp-coders@lists.sourceforge.net > Subject: Re: My Subagent is not working after some long time > >>>>>> On Thu, 6 Jan 2011 11:55:29 +0530, "Prakash" > <prakash.r...@saventech.com> said: > > P> then I restarted my subagent and it throws "Warning: Failed to connect to > P> the agentx master agent ([NIL]):" > > The next time it happens, you might try: > > 1) sending a request to the master agent that isn't controlled by the > subagent to make sure it's still working ok. > 2) attaching a debugger to make sure the master agent is still listening > to the agentx port (which should be /var/agentx/master on unix unless > you've changed it) > -- > Wes Hardaker > Please mail all replies to net-snmp-coders@lists.sourceforge.net > > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Net-snmp-coders mailing list > Net-snmp-coders@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders