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]

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