I would like to check if it is important if module_init(mib) must be called before *init(mib, engineId) function in agenpro?
The reason I am asking is that I compiled agent+±4.3.1 as it is and I could not obtain the snmpFrameworkMIBObjects ->snmpEngine (188.8.131.52.184.108.40.206.1.). It would always return zeros for all OID from this subtree.
After some investigation (comparing atm-mib example with agenpro) find out that module_init is actually embedded in init() function in atm-mib example. I then make changes in the agenpro main function to call module_init before init() and I got it working: I could get snmpFrameworkMIBObjects.
Can you please, let me know you opinion about it?