[SNMP4J] Java MIB compiler

Frank Fock fock at agentpp.com
Fri Oct 26 00:28:43 CEST 2007


Yes, when you have setup a project via the GUI
or by editing the project file, you can generate
the code (and even compile the MIB) from command
line. So, yes ant will work.

Best regards,
Frank

Joseph Schmoley wrote:
> Oh ok, thanks for your quick reply.  Yes, what I meant to say was a code 
> generator that would take a MIB and generate Java code that I can use. 
> Obviously if the MIB changes, I'd have to re-generate the code, but I've 
> already got that worked into my ant builds for my project.  Alright, so 
> AgenPro 2 it is then.  I think I saw it on the site for single user 
> license of $279?  I assume it has APIs I can call from an ant task?
> 
> Thanks,
> 
> -Jac
> 
> ----- Original Message ----- From: "Frank Fock" <fock at agentpp.com>
> To: "Joseph Schmoley" <jacomoman at hotmail.com>
> Cc: <snmp4j at agentpp.org>
> Sent: Thursday, October 25, 2007 1:27 PM
> Subject: Re: [SNMP4J] Java MIB compiler
> 
> 
>> Hi Joseph,
>>
>> A MIB compiler is not needed for an agent and seldom
>> for a manager application (only if it is something
>> generic like a MIB browser). Normally a code generator
>> like AgenPro is all you need.
>>
>> If you really want to use a MIB compiler at runtime,
>> then you could use my JASMI (http://www.mibdesigner.com)
>> or other Java libs like SMI4J and Mibble.
>>
>> Best regards,
>> Frank
>>
>> Joseph Schmoley wrote:
>>> Hi,
>>>
>>> First, let me congratulate you guys (however many of you there are) 
>>> on a great codebase with Snmp4j.  I've tried its SNMPv3 auth and 
>>> table-based GETBULK and it all works great.
>>>
>>> What I can't seem to find any info on though is a MIB compiler for 
>>> Java. Is that something that comes with the base snmp4j package?  Any 
>>> info on that would be appreciated.
>>>
>>> Thanks,
>>>
>>> -Jac
>>> _______________________________________________
>>> SNMP4J mailing list
>>> SNMP4J at agentpp.org
>>> http://lists.agentpp.org/mailman/listinfo/snmp4j
>>
>> -- 
>> AGENT++
>> http://www.agentpp.com
>> http://www.mibexplorer.com
>> http://www.mibdesigner.com
>>
>>
> 

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list