Re: [Nagios-users] JVM Monitoring

2011-01-31 Thread Marc-André Doll
On Fri, 2010-12-17 at 11:19 +0100, Joerg Linge wrote:
 Am 17.12.10 08:19, schrieb Marc-André Doll:
  On Thu, 2010-12-16 at 22:41 +, Jim Avery wrote:
  On 16 December 2010 19:04, Paul M. Dubuc w...@paul.dubuc.org wrote:
  I was just looking at the web page for check_jmx4perl at
 
  http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx4perl/details
 
  It says that it requires No Java installation required on the Nagios 
  host.
 
  Is this not true?
  
  Hi,
  
  Yes it is true. You don't need to install Java on your Nagios server to
  use check_jmx4perl. You just have to deploy a .war on your TomCat (and
  certainly GlassFish, I didn't try it) servers and then you just have to
  send some HTTP request to your server to obtain readings about your JVM.
  
  That's why I choose it. But for now, it seems it is only capable to
  check Java on JEE servers and not Java on its own as I need right now.
 
 Hi Marc,
 
 the jmx4perl agent is now called jolokia
 
 http://labs.consol.de/lang/de/jolokia/
 http://www.jolokia.org/
 
 There is also an JVM Agent which can be used with Sun Java 6+
 
 http://www.jolokia.org/agent/jvm.html
 
 Joerg

Hi all,

I know the thread is a little out-dated but I found this quite
interesting in order to supervise JVM without agent and with SNMP.

http://download.oracle.com/javase/7/docs/technotes/guides/management/snmp.html

You have to restart your JVM and open some TCP port but it doesn't
jeopardize your system by deploying a new application.

Marc-André


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] JVM Monitoring

2010-12-17 Thread Joerg Linge
Am 17.12.10 08:19, schrieb Marc-André Doll:
 On Thu, 2010-12-16 at 22:41 +, Jim Avery wrote:
 On 16 December 2010 19:04, Paul M. Dubuc w...@paul.dubuc.org wrote:
 I was just looking at the web page for check_jmx4perl at

 http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx4perl/details

 It says that it requires No Java installation required on the Nagios host.

 Is this not true?
 
 Hi,
 
 Yes it is true. You don't need to install Java on your Nagios server to
 use check_jmx4perl. You just have to deploy a .war on your TomCat (and
 certainly GlassFish, I didn't try it) servers and then you just have to
 send some HTTP request to your server to obtain readings about your JVM.
 
 That's why I choose it. But for now, it seems it is only capable to
 check Java on JEE servers and not Java on its own as I need right now.

Hi Marc,

the jmx4perl agent is now called jolokia

http://labs.consol.de/lang/de/jolokia/
http://www.jolokia.org/

There is also an JVM Agent which can be used with Sun Java 6+

http://www.jolokia.org/agent/jvm.html

Joerg

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] JVM Monitoring

2010-12-16 Thread Marc-André Doll
On Tue, 2010-12-14 at 17:04 +, Jim Avery wrote:
 On 14 December 2010 14:11, Marc-André Doll m...@b-care.net wrote:
  Hi list,
 
  I have to monitor some JVM and I don't find plugins that fit exactly
  with what I want/imagine.
 
  I could use the check_jmx but I don't really want to install a JRE on my
  Nagios server.
 
  Currently, I'm monitoring Tomcat servers with check_jmx4perl and I'm
  quite happy with it. Is it possible to configure/tweek the JVM or the
  J4P war to use it on a non-JEE server? Or am I doomed to install java on
  my monitoring server?
 
 I would think you could continue to use check_jmx4perl on the Tomcat
 server and get it to send the results back to Nagios as a passive
 check using send_nsca.
 
 You can either use the send_nsca which is built in to NSClient++, or
 there is a standalone binary send_nsca which is quite easy to use (
 http://exchange.nagios.org/directory/Addons/Passive-Checks/NSCA-Win32-Client/details
 ).
 
 You will of course need to configure the nsca daemon on your Nagios
 server if you haven't done that already.
 
 hth,
 
 Jim
 

Thank you Jim for your answer. I will use passive checks with NSCA.

Marc-André



--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] JVM Monitoring

2010-12-16 Thread Paul M. Dubuc
Marc-André Doll wrote:
 Hi list,

 I have to monitor some JVM and I don't find plugins that fit exactly
 with what I want/imagine.

 I could use the check_jmx but I don't really want to install a JRE on my
 Nagios server.

 Currently, I'm monitoring Tomcat servers with check_jmx4perl and I'm
 quite happy with it. Is it possible to configure/tweek the JVM or the
 J4P war to use it on a non-JEE server? Or am I doomed to install java on
 my monitoring server?


 Thanks for your help.

I was just looking at the web page for check_jmx4perl at

http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx4perl/details

It says that it requires No Java installation required on the Nagios host.

Is this not true?

Paul Dubuc

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] JVM Monitoring

2010-12-16 Thread Jim Avery
On 16 December 2010 19:04, Paul M. Dubuc w...@paul.dubuc.org wrote:
 I was just looking at the web page for check_jmx4perl at

 http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx4perl/details

 It says that it requires No Java installation required on the Nagios host.

 Is this not true?

Maybe it is.  I can't say I've tried it!

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] JVM Monitoring

2010-12-16 Thread Marc-André Doll
On Thu, 2010-12-16 at 22:41 +, Jim Avery wrote:
 On 16 December 2010 19:04, Paul M. Dubuc w...@paul.dubuc.org wrote:
  I was just looking at the web page for check_jmx4perl at
 
  http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx4perl/details
 
  It says that it requires No Java installation required on the Nagios host.
 
  Is this not true?

Hi,

Yes it is true. You don't need to install Java on your Nagios server to
use check_jmx4perl. You just have to deploy a .war on your TomCat (and
certainly GlassFish, I didn't try it) servers and then you just have to
send some HTTP request to your server to obtain readings about your JVM.

That's why I choose it. But for now, it seems it is only capable to
check Java on JEE servers and not Java on its own as I need right now.

Marc-André


--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] JVM Monitoring

2010-12-14 Thread Marc-André Doll
Hi list,

I have to monitor some JVM and I don't find plugins that fit exactly
with what I want/imagine.

I could use the check_jmx but I don't really want to install a JRE on my
Nagios server.

Currently, I'm monitoring Tomcat servers with check_jmx4perl and I'm
quite happy with it. Is it possible to configure/tweek the JVM or the
J4P war to use it on a non-JEE server? Or am I doomed to install java on
my monitoring server?


Thanks for your help.


--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] JVM Monitoring

2010-12-14 Thread Jim Avery
On 14 December 2010 14:11, Marc-André Doll m...@b-care.net wrote:
 Hi list,

 I have to monitor some JVM and I don't find plugins that fit exactly
 with what I want/imagine.

 I could use the check_jmx but I don't really want to install a JRE on my
 Nagios server.

 Currently, I'm monitoring Tomcat servers with check_jmx4perl and I'm
 quite happy with it. Is it possible to configure/tweek the JVM or the
 J4P war to use it on a non-JEE server? Or am I doomed to install java on
 my monitoring server?

I would think you could continue to use check_jmx4perl on the Tomcat
server and get it to send the results back to Nagios as a passive
check using send_nsca.

You can either use the send_nsca which is built in to NSClient++, or
there is a standalone binary send_nsca which is quite easy to use (
http://exchange.nagios.org/directory/Addons/Passive-Checks/NSCA-Win32-Client/details
).

You will of course need to configure the nsca daemon on your Nagios
server if you haven't done that already.

hth,

Jim

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null