Hello snmp coders and users,
I'm lost please help shed some light.
I have an subagent which registers organization root oid (several tables and
scalars)
when I run snmpwalk on one of the columns of one of the tables the
net-snmp master agent calls my handler with GETNEXT mode first
and then with GET mode.
my questions:
1 - what am I expected to return for GETNEXT call? Do I return the index of the
next valid object instance
or the actual value of the first valid object instance?
2 - if I'm expected to return a value as a reply to GETNEXT call, why then my
subagent is called again with GET mode?
3 - if I'm expected to return only the index (modified oid?) of the next valid
instance, do I modify the
name field of the netsnmp_variable_list struct?
4 - when snmpget command is called on one of the columns of a table do I return
all the instances of that column? If so do
I create a list of variables by calling snmp_varlist_add_varibale() and return
back the list?
Thank you for your help
Bernadette
------------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders