code: get / set the values from one MIB
Hello,
could someone tell me how an incoming message (GET message or SET message) will get / set the specific values (in the varbind-list) in the MIBs (e.g. the view-based-mib) (in this code)?
https://trac.eecs.jacobs-university.de/projects/scli/browser/trunk/snmp/g_di...
I only see the g_receive_message function and the prepareDataElements function (depending from the snmp version) - but which function will be called after the prepareDateElements function to update the MIB or to read out the MIB values (if it was a GET message)?
thanks
best regards Bernd
On Sat, Feb 23, 2008 at 06:08:13PM +0100, bernd schuster wrote:
Hello,
could someone tell me how an incoming message (GET message or SET message) will get / set the specific values (in the varbind-list) in the MIBs (e.g. the view-based-mib) (in this code)?
https://trac.eecs.jacobs-university.de/projects/scli/browser/trunk/snmp/g_di...
I only see the g_receive_message function and the prepareDataElements function (depending from the snmp version) - but which function will be called after the prepareDateElements function to update the MIB or to read out the MIB values (if it was a GET message)?
It is up to your imagination. The gsnmp implementation isn't really providing you an agent (ehem command responder) infrastructure.
/js
participants (2)
-
bernd schuster
-
Juergen Schoenwaelder