Traces in the JVM SNMP Agent

...In previous entries I have talked about how to enable JMX traces - and also just any kind of traces which are produced through the java.util.logging APIs. Here is a very short complement to emphasize that the JVM SNMP Agent traces can be enabled likewise...

If you've been reading [Tracing JMX - What's going on in my MBeanServer?] and [More on Troubleshooting with JMX] you now know how to:

  • Activate JMX traces
  • Dynamically control/activate any kind of traces produced through the java.util.logging API.

What I haven't said so far - but that you may have already discovered on your own, is that the JVM SNMP agent also produces traces through the java.util.logging API. Therefore, these traces can be activated in exactly the same way. The loggers used by the JVM SNMP Agent are com.sun.jmx.snmp.daemon and com.sun.jmx.snmp.

If you are using a logging.properties file to activate your application traces, then you can also control the JVM SNMP agent traces by specifying levels for these two loggers. For instance, you could add these two lines to your logging.properties:

com.sun.jmx.snmp.level=FINER
com.sun.jmx.snmp.daemon.level=FINEST

Otherwise, you can use one of the methods described in my previous blogs to switch on these loggers traces dynamically.

Cheers,

Comments:

can i get a simple snmp trap program.. and the way to handle the traps in java

Posted by guest on April 05, 2007 at 01:29 PM CEST #

If you want to send/receive SNMP traps - you will need to use an SNMP API for Java - like for instance the Java DMK (see link on this page) - or other libraries/toolkit which you will easily find with a Google Search.
See also Don't fall in the traps and Feeling trapped?.

Posted by daniel on April 06, 2007 at 03:00 AM CEST #

Greetings! I would like to request for your assistance in adding a link through your website: http://www.icir.org/fenner/mibs/ ------------ URL: www.oidview.com/mibbrowser.html Anchor text: mib browser You can use this description: "Oidview MIB browser and snmp toolset for network fault management. Free download for network professionals." The company behind the site, ByteSphere Technologies, specializes in network management analysis tools and other global IT mangement solutions. I find your page interesting because of it's informative content. I do hope you consider giving us the same opportunity to be part of those listed links in your page. Thank you and looking forward to hear from you soon. Mike Naval ByteSphere Technologies

Posted by Myke Naval on June 11, 2007 at 08:07 AM CEST #

OidView SNMP MIB Browser is a network management analysis tool that uses SNMP communication to talk to various agents and devices on a computer network. OidView MIB Browser will run on any Windows operating system. It uses standard SNMPv1, SNMPv2c and SNMPv3, protocols to manage any SNMP capable device on the network (e.g. routers, switches, printers, servers, probes, etc). Using OidView's SNMP MIB Browser, field, network or support engineers and analysts can easily load standard and proprietary MIB files, view and manipulate data available in an SNMP agent by browsing MIBs and performing other SNMP management operations. MIB Browser can also analyze SNMP mibwalk files from multiple vendors! No other MIB Browser can do this! Free download of the software HERE

Posted by guest on June 12, 2007 at 03:46 PM CEST #

Post a Comment:
Comments are closed for this entry.
About

Daniel Fuchs blogs on Scene Builder, JMX, SNMP, Java, etc...

The views expressed on this blog are those of the author and do not necessarily reflect the views of Oracle.

Search

Categories
Archives
« March 2015
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today