Pages: [1]   Go Down
Author Topic: Monitor JVM  (Read 410 times)
0 Members and 1 Guest are viewing this topic.
javim
Newbie
*

Karma: 0
Offline Offline

Posts: 9


View Profile
« on: July 20, 2010, 10:50:45 AM »

Is Pandora able to monitors a JVM (Java Virtual Machine)?

Thanks in advance.
Logged

raul
Administrator
Expert member
*****

Karma: 1
Offline Offline

Posts: 576



View Profile
« Reply #1 on: July 20, 2010, 11:46:15 AM »

In which OS? Which is exactly the kind of monitoring you are looking for, that is, what are the parameters you want to analyze?
Logged

javim
Newbie
*

Karma: 0
Offline Offline

Posts: 9


View Profile
« Reply #2 on: July 20, 2010, 11:59:52 AM »

It would be in Red Hat EL5. Im not sure about the parameters I want to analyze. They could be memmory usage, etc.
Logged

raul
Administrator
Expert member
*****

Karma: 1
Offline Offline

Posts: 576



View Profile
« Reply #3 on: July 20, 2010, 06:07:38 PM »

There is an utility from Sun (now Oracle :-D) that may help you (check that is installed in your system, command jps:

  http://java.sun.com/performance/jvmstat/

Usage:

  http://java.sun.com/performance/jvmstat/solaris.html

If you make it work...:), adding it to the pandora agent is simple, just create a module that parses the output using your own shell skills (wc, cut, perl, sed, awk, tail...)

As an example:

module_begin
module_name jvmperf
module_type generic_data
module_exec jstat -gcutil $(jps |grep -v Jps|tail -1|awk '{print $1}') 1000 1
module_description JVM Performance
module_end


« Last Edit: July 20, 2010, 06:42:31 PM by raul » Logged

Sancho Lerena
Administrator
Expert member
*****

Karma: 24
Offline Offline

Posts: 1141


I can see everything... with my glasses :-)


View Profile WWW
« Reply #4 on: August 20, 2010, 07:19:43 PM »

Added to our public module repository:

http://pandorafms.org/index.php?sec=community&sec2=repository&lng=es&action=view_PUI&id_PUI=132

Thx.
Logged

-- See you in the other screen.

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST