Wednesday October 17, 2007 ![]() |
JMX, SNMP, Java, etc...Daniel Fuchs blogs on JMX, SNMP, Java, etc... |
Dmitri Maximovich has written an excellent article about how to monitor JVM memory using MRTG. [Read More] Tags: java jvm management monitoringPosted by dfuchs ( Oct 17 2007, 11:18:52 AM CEST ) Permalink Comments [0] |
I recently received a question from a member of the Java community asking for advises on how to implement a trap sending service for a highly multi-threaded application. Here is an example/test which shows that the SnmpAdaptorServer from Project OpenDMK can be used. The example also allowed me to find a bug. [Read More] Tags: monitoring opendmk opensource snmp trapsPosted by dfuchs ( Oct 05 2007, 06:17:57 PM CEST ) Permalink Comments [0] |
I am very pleased to announce that we have now a new release of Project OpenDMK which includes the Java DMK SNMP Runtime. The SNMP Runtime are those API classes in Project OpenDMK that will let you send SNMP requests and implement SNMP agents. [Read More] Tags: jmx monitoring opendmk opensource snmpPosted by dfuchs ( Oct 02 2007, 06:15:27 PM CEST ) Permalink Comments [4] |
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: firewall java jmx jvm management monitoring rmiPosted by dfuchs ( Sep 12 2007, 03:11:40 PM CEST ) Permalink Comments [10] |
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: firewall java jconsole jmx jvm management monitoring rmiPosted by dfuchs ( Jul 25 2007, 04:21:36 PM CEST ) Permalink Comments [37] |
As advertised by Alexis Moussine-Pouchkine the video of Bertrand Delsart, presenting Java Real Time is available online, among many others. [Read More] Tags: java realtimePosted by dfuchs ( Jun 25 2007, 02:09:36 PM CEST ) Permalink Comments [0] |
Today, a colleague asked me if I had an example of a Java program that would read the manifest of a jar file. Since I hadn't any, I created one. Here it is. It's very simple, just a few lines of code... [Read More] Tags: example jar java manifestPosted by dfuchs ( Jun 20 2007, 03:01:33 PM CEST ) Permalink Comments [4] |
It's always nice to read praise about a technology you've been working on, but especially so when it comes from some prominent member of the java community. [Read More] Tags: java jmxPosted by dfuchs ( Jun 15 2007, 02:47:53 PM CEST ) Permalink Comments [0] |
Today I have started experimenting using Mercurial (hg) with ssh. Here are the two first pitfalls in which I have fallen. [Read More] Tags: hg mercurial sshPosted by dfuchs ( Jun 01 2007, 04:24:08 PM CEST ) Permalink Comments [4] |
Project OpenDMK includes a cascading API that makes it possible to federate MBeanServers. When several applications are running in the same JVM, this example shows how the OpenDMK cascading API can be used to keep applications MBeans isolated by using one MBeanServer per application instance, but still presenting a single point of access to remote clients by federating all MBeanServers in a single global MBeanServer. Federation of MBeanServers is also discussed for JMX 2.0. Although it does share some concepts with the cascading feature of OpenDMK, it will also have some noticeable differences. [Read More] Tags: cascading java jmx opendmk opensourcePosted by dfuchs ( May 29 2007, 05:48:14 PM CEST ) Permalink Comments [8] |
The OpenJDK and NetBeans IDE WebSite has now a tutorial that shows how to build various part of the JDK, and the JDK itself: in particular, there's a chapter dedicated to building the JMX API sources, and another one dedicated to building the JConsole graphical tool sources. [Read More] Tags: java jconsole jmx netbeans openjdk opensourcePosted by dfuchs ( May 21 2007, 02:36:57 PM CEST ) Permalink Comments [0] |
You may have seen an OpenDMK project lingering on java.net for a few weeks: Well, I am pleased to announce that we have pushed a first snapshot of the sources just before JavaOne. [Read More] Tags: cascading java jmx opendmk opensource snmpPosted by dfuchs ( May 15 2007, 01:41:41 PM CEST ) Permalink Comments [2] |
We have written a white paper about JMX Interoperation With Non Java Technologies. This whitepaper explains how the Web Services Connector for JMX Agents (defined by JSR 262) was successfully used to provide interoperation with non Java technologies and products such as Hewlett Packard's OpenView Operations Agent (HP-OVO), and Microsoft's Windows Remote Management (WinRM). Update: Jean-Francois has written an article on how to deploy the JMX WS Connector within a J2EE Application server.[Read More] Tags: interop java javaone jmx ws wsman Posted by dfuchs ( May 11 2007, 03:30:42 PM CEST ) Permalink Comments [0] |
As you were already informed by many prominent bloggers from the Java Community, the OpenJDK Project is finally out! And of course, the JMX technology and JConsole graphical tool are part of it. Cherry on the cake: we are even providing NetBeans IDE `projects' that will let you work easily on JMX and JConsole without having to compile the whole OpenJDK! [Read More] Tags: java jconsole jmx openjdk opensourcePosted by dfuchs ( May 10 2007, 04:01:13 PM CEST ) Permalink Comments [0] |
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: java jmx jvm monitoringPosted by dfuchs ( May 04 2007, 06:39:28 PM CEST ) Permalink Comments [3] |