[SNMP4J] Fetching OID Attributes

Frank Fock fock at agentpp.com
Thu Dec 19 23:52:07 CET 2013


Hi Maurice,

If you really need those attributes, you will have to use JASMI 
(http://www.mibdesigner.com)
instead of SNMP4J-SMI. The latter already makes use of those additional 
attributes to convert
values for you.

Best regards,
Frank


Am 19.12.2013 05:39, schrieb Garcia, Maurice:
> One more Question?
>
> How do I fetch the different attributes for example?
>
>             SYNTAX      IpAddress
>             MAX-ACCESS  read-write
>             STATUS      deprecated
>             DESCRIPTION
>
> I looked throughout the API, I would think it would be found in the OID class, but can't seem to find it?
>
> In the example, I need the SYNTAX and DESCRIPTION.
>
>     docsDevSwServer OBJECT-TYPE
>             SYNTAX      IpAddress
>             MAX-ACCESS  read-write
>             STATUS      deprecated
>             DESCRIPTION
>                 "The address of the TFTP server used for software
>                  upgrades.  If the TFTP server is unknown or is a
>                  non-IPv4 address, return 0.0.0.0.
>
>                  This object is deprecated.  See docsDevSwServerAddress
>                  for its replacement.  This object will have its value
>                  modified, given a valid SET to docsDevSwServerAddress."
>             ::= { docsDevSoftware 1 }
>
>
>
> Thank you
>
> Maurice
>

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231




More information about the SNMP4J mailing list