[AGENT++] SNMP++ Thread Safety???

Frank Fock fock at agentpp.com
Tue Dec 30 10:33:18 CET 2003


Hi Andrew,

you will have to remove all MACRO definitions from the file or use the
files that are shipped with AgenPro. The MIB Designer FAQ explains
why this is necessary http://www.mibdesigner.com/FAQ.txt

Best regards,
Frank

Andrew Chen wrote:

>Hi Frank:
>
>I've tried to use a command-line AgentGen (1.8?) to compile a standard MIB
>file (i.e. SNMPv2-SMI.mib).  The add process however stops at line
>"MODULE-IDENTITY MACRO ::=" and it complains about expecting "END",
><UPPERCASENAME>, or <LOWERCASENAME> keywords.  Is there anything I need to
>modify the file to be able to pass through the stage?
>
>Andrew   
>
>-----Original Message-----
>From: Frank Fock [mailto:fock at agentpp.com]
>Sent: Tuesday, December 23, 2003 3:32 PM
>To: Andrew Chen
>Cc: agentpp at agentpp.org
>Subject: Re: [AGENT++] SNMP++ Thread Safety???
>
>
>Hi Andrew,
>
>AGENT++ has no built-in MIB compiler, but you can use
>AgenPro v2.x (http://www.agentpp.com) for that purpose.
>If you need a solution for runtime compilation, you will have
>to use a third party API like libsmi. But runtime compilation
>of MIBs is rarely necessary.
>
>Best regards,
>Frank
>
>Andrew Chen wrote:
>
>  
>
>>Hi:
>>
>>I'm fairly new to SNMP development, upon going over AGENT++ I have one
>>    
>>
>basic
>  
>
>>question for a starter:
>>
>>-Can AGENT++ compile a MIB into a C/C++ data structure, if yes how do I
>>    
>>
>make
>  
>
>>such a call?
>>
>>Any help is appreciated.
>>
>>Andrew
>>
>>
>>
>> 
>>
>>    
>>
>
>
>
>  
>






More information about the AGENTPP mailing list