Question on pass_persist feature of net-snmp

Mark Hennelly <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I'm having a problem with the pass_persist feature and I would be very
grateful if anyone could provide any help.

I am trying to get a Java program ( called SNMPAgentDemo) to handle SNMP Get
requests for any OIDs on the subtree of the OID .1.3.6.1.3.1.1

I've added the following line to the snmpd.conf file
pass_persist .1.3.6.1.3.1.1 /usr/bin/java -classpath
/home/barney1572/barney1572/Documents/snmp/SNMPAgentDemo/src/SNMPAgentDemo.jar
SNMPAgentDemo

My understanding of this line was that pass_persist tells the SNMP agent
that any requests for OIDs on the subtree of .1.3.6.1.3.1.1 would then be
passed to the SNMPAgentDemo program

However, when I execute the following SNMP Get command :
          snmpget -v 2c -c public 127.0.0.1 1.3.6.1.3.1.1.1.2.1.2.12)
I receive this error
EMNETS-MIB::networkNodeName.12 = No Such Object available on this agent at
this OID

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.