About Me

JMX, SNMP, Java, etc...

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

All | Personal | Sun
tags: blogging firewall hg java jconsole jmx jvm management mbean mercurial monitoring opendmk openjdk opensource rmi snmp ssl

Table Of Contents (list all entries)

« More on Troubleshoot... | Main | A new blogger in the... »
20060320 Monday March 20, 2006
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,

Tags:
Posted by dfuchs ( Mar 20 2006, 02:47:13 PM CET ) Permalink Comments [4]

Trackback URL: http://blogs.sun.com/jmxetc/entry/traces_in_the_jvm_snmp
Comments:

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

Posted by 59.92.96.254 on April 05, 2007 at 08: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 10: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 03:07 PM 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 124.217.8.47 on June 12, 2007 at 10:46 PM CEST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed
[Table Of Contents]

This is a personal Weblog, and I do not speak for my employer.

Calendar

RSS Feeds

DFuchs on DZone

Search

Links

Lookup RFC

Planet JMX

From Grenoble

Navigation

Referers