Re: [SNMP4J] Going from BER Input Stream to OID String

2013-10-15 Thread Garcia, Maurice
, I am not sure, but I thiunk you need to rewind the input ByteBuffer to position 0 before you can decode after the put. Best regards, Frank Am 15.10.2013 19:12, schrieb Garcia, Maurice: Hi All, I've been working with SNMP4J for a couple of weeks adding it to a project that I am working

[SNMP4J] OID Name to OID Dot Notation and vice Versa

2013-12-17 Thread Garcia, Maurice
I hope this is a trivial fix, I am really new to SNMP4J. I simply want to simply translate an OID name to a OID dot notation. I can find any clear documentation on how to do this. Also do I need to compile new MIBS or simple provide the text files? Below is just a test file to get me started

Re: [SNMP4J] OID Name to OID Dot Notation and vice Versa

2013-12-18 Thread Garcia, Maurice
that are available in the repository. SmiManager.getLoadedModuleNames() returns the module names that are loaded and thus available for parsing. Calling smiManager.loadModule(SNMPv2-MIB); once before the first parse will do the trick. Best regards, Frank Am 18.12.2013 06:00, schrieb Garcia, Maurice: I

[SNMP4J] - BER - OID resolution i.e : snmpCommunityName

2013-12-31 Thread Garcia, Maurice
Hi, I am trying to fully resolve the snmpCommunityName OID from BER to OID I tried using all the methods in the OID Class and can't find anything in the SMI class that can help.. Any suggestions??? Example: I get this - snmpCommunityName.109.116.97.112.114.111.118 But I want this -

Re: [SNMP4J] - BER - OID resolution i.e : snmpCommunityName

2014-01-01 Thread Garcia, Maurice
, or is there more to the setup of SMI? Thanks, Maurice From: Frank Fock [mailto:f...@agentpp.com] Sent: Wednesday, January 01, 2014 12:03 PM To: Garcia, Maurice; snmp4j@agentpp.org Subject: Re: [SNMP4J] - BER - OID resolution i.e : snmpCommunityName Hi Maurice, I think the BER (Basic Encoding Rules

Re: [SNMP4J] - BER - OID resolution i.e : snmpCommunityName

2014-01-02 Thread Garcia, Maurice
Great!!! I will be eagerly waiting for the new code drop!! Thanks, Maurice From: Frank Fock [mailto:f...@agentpp.com] Sent: Thursday, January 02, 2014 12:15 PM To: Garcia, Maurice; snmp4j@agentpp.org Subject: Re: [SNMP4J] - BER - OID resolution i.e : snmpCommunityName Hi Maurice, OK, I

Re: [SNMP4J] - BER - OID resolution i.e : snmpCommunityName

2014-01-03 Thread Garcia, Maurice
, but it appear to be the round-trip index conversion that you were talking about? Thanks, Maurice From: Frank Fock [mailto:f...@agentpp.com] Sent: Thursday, January 02, 2014 12:15 PM To: Garcia, Maurice; snmp4j@agentpp.org Subject: Re: [SNMP4J] - BER - OID resolution i.e : snmpCommunityName Hi

Re: [SNMP4J] - BER - OID resolution i.e : snmpCommunityName

2014-01-14 Thread Garcia, Maurice
(1.3.6.1.6.3.16.1.5.2.1.3.20.117.110.114.101.115.116.114.105.99.11 6.101.100.82.101.97.100.86.105.101.119.4.9.3.6.4976); assertEquals(vacmViewTreeFamilyMask.'unrestrictedReadView'.'9.3.6.497 6', vacmViewTreeFamilyMask3.toString()); Best regards, Frank Am 03.01.2014 16:28, schrieb Garcia, Maurice

Re: [SNMP4J] - BER - OID resolution i.e : snmpCommunityName

2014-01-15 Thread Garcia, Maurice
- From: Frank Fock [mailto:f...@agentpp.com] Sent: Tuesday, January 14, 2014 3:10 PM To: Garcia, Maurice; snmp4j@agentpp.org Cc: Flickinger, Allen Subject: Re: [SNMP4J] - BER - OID resolution i.e : snmpCommunityName Hi Maurice, Sorry, it was some error in the packaging which removed the innerclass

Re: [SNMP4J] - BER - OID resolution i.e : snmpCommunityName

2014-01-16 Thread Garcia, Maurice
, schrieb Garcia, Maurice: Thanks for the update!!! Works great. Can the (double quote) be configurable to another character via the API? My lexer/parser interprets the double quote for another purpose. Here is an example of the configuration that will be ingested by the application