Re: subagent and EndOfSubtree event

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/5/20 Sergey Matveychuk <[email protected]>:
>> This should be handled automatically by the subagent framework.
>> All your MIB module handler typically needs to do is return without
>> setting a value.
>
> I've tried it, but snmpwalk got a timeout:
>
> NET-SNMP-MIB::netSnmp.2.1.2.0.5.98 = INTEGER: 0
> NET-SNMP-MIB::netSnmp.2.1.2.0.5.99 = INTEGER: 0
> Timeout: No Response from localhost



Hmmm....
What range of OIDs is your subagent registering for?
What comes next in the MIB tree?

I've also checked the NET-SNMP-EXAMPLES-MIB, and
netSnmp.2.1.2 is a scalar object (netSnmpExampleSleeper)
So the output above doesn't really make sense.

You should be seeing
    netSnmp.2.1.1.0
    netSnmp.2.1.2.0
    netSnmp.2.1.3.0
    netSnmp.2.2.1.1.2."name"
      etc

or something similar.



Anyway, what happens if you do "snmpgetnext" on netSnmp.2.1.2.1 ?
    (both with and without your subagent running)

Dave

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
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.