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)

Main | Next page »
20071210 Monday December 10, 2007
Ingo Rockel's Thread Dump Plugin For JConsole

In his blog, Ingo Rockel posted about a nice Thread Dump plugin for JConsole. Out of curiosity, I decided to give it a try.

[Read More] Tags:
Posted by dfuchs ( Dec 10 2007, 11:49:22 AM CET ) Permalink Comments [1]

20071022 Monday October 22, 2007
JMX: Connecting Through Firewalls Using RMI Over SSL And a Single Port (Part III)

This post explains how you can configure your Java application to export a single port using JMX RMI Connector Server over SSL. This is particularly useful when your application is located behind a firewall, because you will only need to let through a single port. However, using a single port when SSL is enabled requires a little care, because it can only work if the same RMI Socket Factories are used everywhere: indeed the same port cannot be shared by two different RMI Socket Factories. So at the risk of boring you, here is my third post on the subject.

[Read More] Tags:
Posted by dfuchs ( Oct 22 2007, 07:38:51 PM CEST ) Permalink Comments [9]

20071017 Wednesday October 17, 2007
Dmitri Maximovich: Monitoring JVM memory with MRTG

Dmitri Maximovich has written an excellent article about how to monitor JVM memory using MRTG.

[Read More] Tags:
Posted by dfuchs ( Oct 17 2007, 11:18:52 AM CEST ) Permalink Comments [0]

20070912 Wednesday September 12, 2007
More on premain and JMX Connectors

In my previous blog entry, I have talked about how to take advantage of java agents in order to start a custom JMX Connector in a Java application, without modifying the application. This is particularly useful when you need to monitor Java applications which are located behind a firewall. In that case, it makes it possible to write a java agent that will start a RMI connector configured in a firewall-friendly manner. However, there's a catch. This is what this entry is about.

[Read More] Tags:
Posted by dfuchs ( Sep 12 2007, 03:11:40 PM CEST ) Permalink Comments [10]

20070725 Wednesday July 25, 2007
Connecting Through Firewall Using JMX - Without modifying the server application

In a recent comment on my blog about Troubleshooting Connection Problems in JConsole I was asked the following question:

Can you simply explain how run jconsole on a client machine to connect to an unmodifiable applicaton that run on a server. One and only one port on the server is open though firewall for managing the application.

Here is how.

[Read More] Tags:
Posted by dfuchs ( Jul 25 2007, 04:21:36 PM CEST ) Permalink Comments [37]

20070504 Friday May 04, 2007
A small program that prints the attributes of all JVM MBeans

A few weeks ago I blogged about how to programmatically access the JVM Monitoring information. Here is a small Java application that prints all the attributes of all the JVM Management & Monitoring MBeans.

The sample simply prints the attributes of the JVM MBeans from the JVM in which it runs. It would be very easy to make it print the information of a remote JVM. You would just need to copy the code from the JVMRuntimeClient shown in my previous blog: [More]

[Read More] Tags:
Posted by dfuchs ( May 04 2007, 06:39:28 PM CEST ) Permalink Comments [2]

20070420 Friday April 20, 2007
How to retrieve JVM information using JRuby

A few weeks ago, I posted a small example showing how to programatically retrieve the JVM Management and Monitoring information. Jeff Mesnil also recently wrote a two parts blog article showing how to write a JMX client using JRuby.

Piecing these two articles together I'm going to show how to prototype this using JRuby in jconsole Script Shell plugin.

[Read More] Tags:
Posted by dfuchs ( Apr 20 2007, 05:40:13 PM CEST ) Permalink Comments [0]

20070309 Friday March 09, 2007
How To Retrieve Remote JVM Monitoring And Management Information

How to use JMX to programatically retrieve the information that JConsole displays is easy. Here is a small JMX Client Program that shows how you can programatically retrieve the JVM Management and Monitoring information from a remote JVM.

[Read More] Tags:
Posted by dfuchs ( Mar 09 2007, 06:46:43 PM CET ) Permalink Comments [62]

20070302 Friday March 02, 2007
Brian Goetz: Trust the JVM. It's smarter than you think.

I have just read the new excellent interview of Brian Goetz, Writing Better Code published on java.sun.com.

In this interview Brian goes against a few myths about code optimization, and provides some insightful advices for writing faster code. One of its more striking moto is:

    Trust the JVM. It's smarter than you think.
[Read More] Tags:
Posted by dfuchs ( Mar 02 2007, 01:28:32 PM CET ) Permalink Comments [1]

20070223 Friday February 23, 2007
JVM Monitoring: JMX or SNMP?

Since JavaTM SE 5.0, the JRE provides a means to manage and monitor the Java Virtual Machine. It comes in two flavors: one is based on the Java Management Extension (JMXTM), the other is a small SNMP agent that builds upon the Management and Monitoring API of the Java SE platform and exposes the same information through SNMP.

A legitimate question that often arises to newcomers to the JMX and SNMP technologies is:

Which technology should I use to monitor my JVM? JMX, or SNMP?

In this blog I will try to provide some guidance on this subject.

[Read More] Tags:
Posted by dfuchs ( Feb 23 2007, 04:50:07 PM CET ) Permalink Comments [7]

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...

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

20060315 Wednesday March 15, 2006
More on Troubleshooting with JMX

...Danny Coward recently wrote an excellent blog about the various Java SE 5.0 and Java SE 6 tools that will help you diagnose problems in your Java application. As an exercise, I have written a little Java application that will let you dynamically activate your own traces in a running Java application ...

[Read More] Tags:
Posted by dfuchs ( Mar 15 2006, 06:01:56 PM CET ) Permalink Comments [0]

20060307 Tuesday March 07, 2006
Tracing JMX - What's going on in my MBeanServer?

... ever wondered how to debug your JMX application? Here are a few tricks...

[Read More] Tags:
Posted by dfuchs ( Mar 07 2006, 05:12:23 PM CET ) Permalink Comments [3]

20060214 Tuesday February 14, 2006
Life, the Universe, and Everything...

or the Hitchhiker's Guide to SNMP...

These days, I have been reading - or re-reading, Douglas Adams' Hitchhiker's Guide to the Galaxy. Funny enough, this will be the subject of my SNMP blog today...

[Read More] Tags:
Posted by dfuchs ( Feb 14 2006, 02:16:19 AM CET ) Permalink Comments [0]

20060131 Tuesday January 31, 2006
What is the JVM SNMP Agent?

In a future blog, I'll tell you more about managing Tiger or Mustang JVMs through SNMP. But for the time being, here are a very few words to clarify what is the Tiger and Mustang JVM SNMP Agent.

[Read More] Tags:
Posted by dfuchs ( Jan 31 2006, 12:10:46 PM CET ) Permalink Comments [21]

[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