hi, i am using net-snmp 5.5.
in a mib which my c application supportsi have a table for which i have
generated code with mib2c, using mib2c.array-user.conf.
this works so far, but now multiple instances of my subagent are required to
run.
the design is such that the table shall now contain rows delivered by different
subagent instances(a column to hold the subagent instance id has been added to
the table index).
i heard that for this i need to register each row which is inserted into the
table - so that the master agent (snmpd) can know which subagent instance to
ask, to answer a request for row data.
i have tried to achieve this with "netsnmp_register_instance"and i observed
that a valid agentx register-pdu is sent out by my subagent,but now the
subagent no longer answers requests for the table rows.probably i have
destroyed the registration of the handler,which the mib2c-generated code
achieved with netsnmp_table_container_register.
maybe i need to use register_mib_table_row, or register_mib_range?or is even
the code generated by mib2c.array-user.conf incompatible with what i need?
any help or pointers to example code is appreciated,as i am somewhat at a dead
end.
regards, albert
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders