[AGENT++] Help

Frank Fock fock at agentpp.com
Wed Apr 4 00:56:45 CEST 2018


Hi Mostafa,

The error is mot likely hidden in “the way how you replaced the ‘mib name’”. The name of the MIB is not relevant for the SNMP protocol. Only the OID is relevant. Maybe you changed that not consistently. 

Best regards,
Frank


> On 2. Apr 2018, at 16:22, Mostafa Kassem <mostafak at danlawinc.com> wrote:
> 
> Greetings,
> 
> I have used AgentPro to generate C++ of my mib ("1.0.15628.4.1"), my agent code mimics exactly what the agent code in the example code atm_mib, except that my mib name replaced the atm_mib in the agent code. I am using SNMPv2c for testing but eventually will move to v3.
> 
> I am using the Window vs2013 code for testing (agent++ subdir).
> 
> If I run the SNMP manager with the atm-mib code, I can walk the mib tree. If I run the code for my mib, I get the initial cold start trap, but when I try to walk the mib tree, nothing comes back to the manager.
> 
> If I try to get a scalar integer leaf, the manager reports "No such Object".
> 
> What I am doing wrong?  I am using the latest releases.
> 
> Thanks,
> 
> Mostafa Kassem
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> https://oosnmp.net/mailman/listinfo/agentpp



More information about the AGENTPP mailing list