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

Andrew Chen achen at superteltech.com
Tue Jan 6 02:16:29 CET 2004


Hi Frank:

How would you compile a MIB that refers to RFC-1212 if it is the concise
definition of MIB?

Andrew

-----Original Message-----
From: Frank Fock [mailto:fock at agentpp.com]
Sent: Tuesday, December 30, 2003 12:53 PM
To: Andrew Chen
Cc: agentpp at agentpp.org
Subject: Re: [AGENT++] SNMP++ Thread Safety???


Hi Andrew,

CHOICE is also not part of SMI and cannot be recognized by
a SMIv1/v2 MIB compiler. Have you read the FAQ?

You can find a SMIv2 conformant version of the SNMPv2-SMI
MIB module at:
http://www.mibexplorer.com/export/ietf/index.html

Best regards,
Frank

Andrew Chen wrote:

>Hi Frank:
>
>I'm also stuck on "CHOICE" (SNMPv2-SMI.mib) with the same error message,
and
>even without the build-in ASN.1 types I still can't pass through
"Integer32"
>for that matter.  Is OBJECT IDENTIFIER the only keyword the compiler sees? 
>
>Andrew 
>
>-----Original Message-----
>From: Frank Fock [mailto:fock at agentpp.com]
>Sent: Tuesday, December 30, 2003 1:33 AM
>To: Andrew Chen
>Cc: agentpp at agentpp.org
>Subject: Re: [AGENT++] SNMP++ Thread Safety???
>
>
>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
>>>
>>>
>>>
>>>
>>>
>>>   
>>>
>>>      
>>>
>>
>> 
>>
>>    
>>
>
>
>
>  
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20040105/6c376ebb/attachment.htm 


More information about the AGENTPP mailing list