SNMP

hi,

Is it possible to do some SNMP programming in JAVA.

what I have to do it send a request to routers in LAN to get the information of different LAN segments its assigned.

for an example say there is a router 192.128.0.5 which handles IP segments 10.8.100.x , 10.8..95.x , 10.8.105.x

each segment is associated with a gateway 10.8.100.254 , 10.8.95.254 , 10.8.105.x

using SNMP I can get the information on this gateways but i've been using ICMP (tracert command) which doesnt give an idea on this. :(

Help me...

thanks

[572 byte] By [AlienXa] at [2007-11-27 9:40:46]
# 1
There are lots of SNMP libraries for Java. Just do a google search on: java snmp libraryKaj
kajbja at 2007-7-12 23:18:28 > top of Java-index,Java Essentials,New To Java...
# 2
yeah there are alot.as im new to that im asking, do they all provode the same functionality. Can I use them to get what I want. which is mentioned in the previous post.thanks
AlienXa at 2007-7-12 23:18:28 > top of Java-index,Java Essentials,New To Java...
# 3
Download a few, read their docs, try them out.It's called research. It's part of developing software.
jverda at 2007-7-12 23:18:28 > top of Java-index,Java Essentials,New To Java...
# 4

Hi,

The Java DMK 5.1 has an SNMP Manager API that will let you send SNMP requests

using either of the SNMP v1, v2c, or v3 protocols.

You can download the evaluation version from here:

http://java.sun.com/products/jdmk/index.jsp

and you will find a tutorial there:

http://docs.sun.com/app/docs/doc/816-7609/6mdjrf88m?a=view

Note: The project OpenDMK on java.net which is an open source version of the Java DMK

unfortunately doesn't have the SNMP runtime yet...

http://blogs.sun.com/jmxetc/entry/we_are_open_sourcing_the

Best regards,

-- daniel

JMX, SNMP, Java, etc...

http://blogs.sun.com/jmxetc

dfuchsa at 2007-7-12 23:18:28 > top of Java-index,Java Essentials,New To Java...