Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
monitors:jmxstat [2015/03/01 05:22] – [Installation] shadymint | monitors:jmxstat [2017/11/21 16:57] – [Description] shadymint | ||
---|---|---|---|
Line 4: | Line 4: | ||
^ Compatibility | Xymon 4.2,4.3 | | ^ Compatibility | Xymon 4.2,4.3 | | ||
^ Requirements | Java 1.5 or above and jmxsh (http:// | ^ Requirements | Java 1.5 or above and jmxsh (http:// | ||
- | ^ Download | http:// | + | ^ Download | {{ :monitors: |
- | ^ Last Update | 2015-02-28 | | + | ^ Last Update | 2017-11-17 | |
===== Description ===== | ===== Description ===== | ||
- | This is a tcl script that runs under jmxsh to connect to a JMX enabled JVM, extract stats and send to Xymon. | + | This is a tcl script that runs under jmxsh to connect to a JMX enabled JVM, extract stats and send to Xymon. |
+ | |||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | |||
+ | jmxstat is expected to run as a ' | ||
===== Installation ===== | ===== Installation ===== | ||
=== Client side === | === Client side === | ||
Line 40: | Line 46: | ||
6. Add this to TEST2RRD= in xymonserver.cfg | 6. Add this to TEST2RRD= in xymonserver.cfg | ||
- | Threads=ncv, | + | Threads=ncv, |
| | ||
7. Add this to GRAPHS= in xymonserver.cfg | 7. Add this to GRAPHS= in xymonserver.cfg | ||
Threads, | Threads, | ||
| | ||
- | 8. Add these 6 extra lines to xymonserver.cfg | + | 8. Add these 7 extra lines to xymonserver.cfg |
NCV_Threads=" | NCV_Threads=" | ||
NCV_JVMHeap=" | NCV_JVMHeap=" | ||
Line 52: | Line 58: | ||
NCV_ThreadPool=" | NCV_ThreadPool=" | ||
NCV_Service=" | NCV_Service=" | ||
+ | NCV_jmxstat=" | ||
| | ||
9. Add these 8 new sections to graphs.cfg | 9. Add these 8 new sections to graphs.cfg | ||
Line 172: | Line 179: | ||
GPRINT: | GPRINT: | ||
GPRINT: | GPRINT: | ||
- | [jmxstat] | + | |
TITLE jmxstat Run Time | TITLE jmxstat Run Time | ||
YAXIS Seconds | YAXIS Seconds | ||
Line 250: | Line 257: | ||
===== Changelog ===== | ===== Changelog ===== | ||
- | * **2011-03-23 v 0.1.0 ** | + | * **2017-11-17 v 0.1.12 ** |
- | * Initial release | + | * Support for WinPSClient in query_bb, send_bb and send_bb_data. |
- | | + | * Bug fix: uninitialized string in query_bb for BBWin. |
- | * dont report old gcinfo alerts. | + | |
- | * **2011-07-08 v 0.1.2 ** | + | |
- | * deal with gc collectors that lie about number of collections. | + | |
- | * Corrections | + | * Automatically and portably derives XYMONHOME if not in environment. |
- | * **2011-11-11 v 0.1.3 ** | + | * Implemented a built-in xymongrep for platforms without one. |
- | * Support for Xymon 4.3. | + | * Generalized command (CMD) in query_bb, send_bb, send_bb_data. |
- | * better error checking around jmx_get. | + | * Replaced quotation characters in MSG in send_bb and send_bb_data. |
- | * proper flow control around down/ | + | * **2016-09-07 v 0.1.9 ** |
- | * **2012-09-15 v 0.1.4 ** | + | * XYMONNETWORK removed |
- | * caught some uninitialiased variables. | + | * **2015-02-28 v 0.1.8 ** |
- | * better debugging. | + | * re-work of 0.1.5 using MBEAN and ATTROP. |
+ | * New keyword " | ||
+ | * Runtime rrd info sent. | ||
+ | * **2014-08-07 v 0.1.7 ** | ||
+ | * pre and post exec options to allow writing your own tcl miniprograms | ||
+ | * **2014-04-08 v 0.1.6 ** | ||
+ | * arithmetic in GCInfo sizes. | ||
* **2013-03-07 v 0.1.5 ** | * **2013-03-07 v 0.1.5 ** | ||
* put \" wrapper around mbean args to jmx_get. | * put \" wrapper around mbean args to jmx_get. | ||
* cater for jvm not providing maxSpareThreads. | * cater for jvm not providing maxSpareThreads. | ||
* adapt to change in behaviour of xymongrep. | * adapt to change in behaviour of xymongrep. | ||
- | * **2014-04-08 v 0.1.6 ** | + | * **2012-09-15 v 0.1.4 ** |
- | * arithmetic in GCInfo | + | * caught some uninitialized variables. |
- | * **2014-08-07 v 0.1.7 ** | + | * better debugging. |
- | * pre and post exec options to allow writing your own tcl miniprograms | + | * **2011-11-11 v 0.1.3 ** |
+ | * Support for Xymon 4.3. | ||
+ | * better error checking around jmx_get. | ||
+ | * proper flow control around down/ | ||
+ | * **2011-07-08 v 0.1.2 ** | ||
+ | * deal with gc collectors that lie about number of collections. | ||
+ | * Corrections for integer | ||
+ | * **2011-07-03 v 0.1.1 ** | ||
+ | * dont report old gcinfo alerts. | ||
+ | * **2011-03-23 v 0.1.0 ** | ||
+ | * Initial release |