---------- Forwarded message ----------
From: Nevadita Chatterjee <[EMAIL PROTECTED]>
Date: Oct 22, 2007 4:09 PM
Subject: Unable to do snmpget for subagent
To: [email protected]
Hi All,
I am trying to attach a subagent to net-snmp but it is giving the response
as
NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 = No Such Object available
on this agent at this OID
The Steps that I have followed:
1.I placed my mib in /usr/local/share/snmp/mibs/*NET-SNMP-TUTORIAL-MIB*
*2.* Got netsnmp tar and *untared it net-snmp-5.3.1*
*3.* Then did *./configure*
*4. *Did make
5. Did make test
6. Did make install
7. followed tutorial
http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent to make
example-demon
8.did ./snmpconf -g basic_setup
9.Added line agentx master in snmpd.conf
10. Did /usr/local/sbin/snmpd -Dagentx -c /usr/local/bin/snmpd.conf
11. did snmpget -v 2c -c public localhost system.sysContact.0 to
get response as somecontact
12 started ./example-demon getting output as subagent connected to agentx
exampl-demon running
13 snmpget* -v 2c -c public localhost NET-SNMP-TUTORIAL-MIB::snmpget
localhost NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
**This gives reponse as*
NET-SNMP-TUTORIAL-MIB:: nstAgentSubagentObject.0 = No Such Object available
on this agent at this OID
14. The debugger is giving output as
agentx/master:handle pdu (req=0x123f12, trans=0x0,sess=0xa)
agentx/master: send response, stst 0 (req=0x1hjh787, trans=0x0,sess=0xa)
agentx_build: packet built okay
Not able to understand what is wrong
Plese help me regarding this.It is urgent for my project
Thanks in Advance
Regards,
Nevadita
**
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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