Re: [OT] Inspecting JMX

2012-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 1/26/12 5:35 PM, Pid wrote: On 26/01/2012 20:33, Christopher Schultz wrote: Chuck On 1/26/12 1:41 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: [OT] Inspecting JMX Should I

Re: [OT] Inspecting JMX

2012-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 1/28/12 8:51 AM, Rainer Jung wrote: On 26.01.2012 19:32, Christopher Schultz wrote: Now I'm trying to get similar information using a command-line tool that is very simple called check_jmx -- it's a plug-in for Nagios. It appears

Re: [OT] Inspecting JMX

2012-01-31 Thread Mark Eggers
Chris, (comments inline) - Original Message - From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Tuesday, January 31, 2012 12:29 PM Subject: Re: [OT] Inspecting JMX -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: [OT] Inspecting JMX

2012-01-28 Thread Rainer Jung
On 26.01.2012 19:32, Christopher Schultz wrote: Now I'm trying to get similar information using a command-line tool that is very simple called check_jmx -- it's a plug-in for Nagios. It appears that this tool does not support the attach API and so it looks like I'll have to enable remote JMX,

[OT] Inspecting JMX

2012-01-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I'm trying to get into the business of inspecting my JVM using the mbeans that Tomcat (and the JVM) expose, but I'm having great difficulty. I'm not even sure if I'm doing the right things. I have a running Tomcat instance (happens to be 7.0.25

RE: [OT] Inspecting JMX

2012-01-26 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: [OT] Inspecting JMX Should I just give up and use JmxRemoteLifecycleListener? Yes. You really aren't get to get anywhere on EC2 without it. Should I hack the code for check_jmx to use the Attach API. Maybe; might

Re: [OT] Inspecting JMX

2012-01-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 1/26/12 1:41 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: [OT] Inspecting JMX Should I just give up and use JmxRemoteLifecycleListener? Yes. You really aren't get to get

Re: [OT] Inspecting JMX

2012-01-26 Thread Kees Jan Koster
Dear Chris, Should I just give up and use JmxRemoteLifecycleListener? Yes. You really aren't get to get anywhere on EC2 without it. I figured since I was using localhost everything would stay there anyway. I'll give JmxRemoteLifecycleListener a chance. Or you could write a small piece

Re: [OT] Inspecting JMX

2012-01-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kees Jan, On 1/26/12 1:52 PM, Kees Jan Koster wrote: Dear Chris, Should I just give up and use JmxRemoteLifecycleListener? Yes. You really aren't get to get anywhere on EC2 without it. I figured since I was using localhost everything would

Re: [OT] Inspecting JMX

2012-01-26 Thread André Warnier
Chris, independently of anything else, you may want to have a look at jmxsh http://code.google.com/p/jmxsh/ It is interactive as well as scriptable. (If I, who do not understand much about JMX and mbeans (or even java), managed to use it with Tomcat and other stand-alone java applications, it

Re: [OT] Inspecting JMX

2012-01-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck On 1/26/12 1:41 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: [OT] Inspecting JMX Should I just give up and use JmxRemoteLifecycleListener? Yes. You really aren't get to get

Re: [OT] Inspecting JMX

2012-01-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 1/26/12 3:30 PM, André Warnier wrote: independently of anything else, you may want to have a look at jmxsh http://code.google.com/p/jmxsh/ Now that I have *something* working, I can experiment to see what other things work as well :)

Re: [OT] Inspecting JMX

2012-01-26 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 1/26/12 3:30 PM, André Warnier wrote: independently of anything else, you may want to have a look at jmxsh http://code.google.com/p/jmxsh/ Now that I have *something* working, I can experiment to see what

Re: [OT] Inspecting JMX

2012-01-26 Thread Pid
On 26/01/2012 20:33, Christopher Schultz wrote: Chuck On 1/26/12 1:41 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: [OT] Inspecting JMX Should I just give up and use JmxRemoteLifecycleListener? Yes. You really aren't get