in your snmpd.conf
add these two lines
master agentx ( you have added this line only)
agentXsocket /var/agentx/master .
the do the command "ls /var/agentx" to check really the agentx connection
exists ???/
On Wed, Feb 18, 2009 at 5:47 PM, Raghu Ramaraj
<raghu_rama...@mindtree.com>wrote:
> Hi Dave
> Pls find the attached file which has the snmpd.conf
>
> I did only two changes in conf file that are 1) added democommunity 2)
> added master agentx.
> If do ls /var/agent it is giving ->no such file or dir
>
>
>
>
> Thanks & Regards,
> Raghu
>
> -----Original Message-----
> From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On
> Behalf Of Dave Shield
> Sent: Wednesday, February 18, 2009 2:47 PM
> To: Raghu Ramaraj
> Cc: manu kumar; net-snmp-users@lists.sourceforge.net
> Subject: Re: Vs: net-snmp-5.4.2.1-mips core
>
> 2009/2/18 Raghu Ramaraj <raghu_rama...@mindtree.com>:
> > I just started with the following link
> > "http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Subagent"
> > Even I used the example here also.
> > I am getting here like this
> >
> > spils/linux/target subagent # snmpgetnext -v1 -c democommunity localhost
> NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
> > SNMP-FRAMEWORK-MIB::snmpEngineID.0 = Hex-STRING: 80 00 1F 88 80 38 81 F2
> 27 3D 46 6D 38
> >
> >
> > spils/linux/target subagent # snmpgetnext -v1 -c democommunity localhost
> NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject
> > SNMP-FRAMEWORK-MIB::snmpEngineID.0 = Hex-STRING: 80 00 1F 88 80 38 81 F2
> 27 3D 46 6D 38
> > spils/linux/target subagent #
>
>
> Are you sure that the agent is actually listening for AgentX subagents?
> What does
> ls /var/agentx
> report?
>
> What is in your snmpd.conf file?
>
> Dave
>
> http://www.mindtree.com/email/disclaimer.html
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users