[SNMP4J] a doubt in snmpwalk

Frank Fock fock at agentpp.com
Thu May 29 00:11:34 CEST 2008


snmpwalk.java is not a file of the SNMP4J distribution
and OIDs starting with . are not supported by SNMP4J
(this non-standard notation is NET-SNMP specific).
Additionally, there is no SMI type "string" returned
by SNMP4J (instead OctetString represents OCTET STRING
SMI types).

Regards,
Frank

AMRUTH KUMAR JUTURU wrote:
> Hi,
> 
>        I am using SNMP4J api. why did you ask so? Did I miss some thing 
> pretty obvious?
> 
>                Regards,
>                 Amruth Kumar Juturu
> 
> On Tue, May 27, 2008 at 10:39 PM, Frank Fock <fock at agentpp.com 
> <mailto:fock at agentpp.com>> wrote:
> 
>     Hi,
> 
>     I guess you are *not* using SNMP4J, right?
> 
>     Regards,
>     Frank
> 
>     AMRUTH KUMAR JUTURU wrote:
> 
>         Hi all,
> 
>                      I am trying to learn snmp4j api. I tried using the
>         snmputil.java file. I tried the snmpwalk.java and its working
>         file. I just
>         want to know, when I get a value of an oid (say .1.3.6.1.2.1.1.1.0
>         sysDescriptor) using get or get next , how do you know the type
>         of that
>         data...in this case it is String. Can we extract the type of
>         data from the
>         PDU we receive that says the type of .1.3.6.1.2.1.1.1.0 is
>         String. Kindly
>         help me in doing that. Thanks in advance for your help. Any
>         suggestions are
>         helpful.
> 
>                                Thanks,
>                                 Amruth Kumar Juturu.
>         _______________________________________________
>         SNMP4J mailing list
>         SNMP4J at agentpp.org <mailto: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