Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
monitors:jmxstat [2017/05/30 11:11] – [Installation] shadymint | monitors:jmxstat [2017/11/21 17:01] (current) – [Installation] shadymint | ||
---|---|---|---|
Line 5: | Line 5: | ||
^ Requirements | Java 1.5 or above and jmxsh (http:// | ^ Requirements | Java 1.5 or above and jmxsh (http:// | ||
^ Download | {{ : | ^ Download | {{ : | ||
- | ^ Last Update | 2017-05-23 | | + | ^ 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 28: | Line 30: | ||
* The sample ini file contains definitions for generic and Tomcat (Catalina) Mbeans, definitions for JBoss Mbeans is work in progress and will be added to the sample ini in due course. | * The sample ini file contains definitions for generic and Tomcat (Catalina) Mbeans, definitions for JBoss Mbeans is work in progress and will be added to the sample ini in due course. | ||
- | 4. Add entries to the hosts.cfg file (create one if none exists in your Xymon installation) | + | 4. Add entries to the hosts.cfg file (create one if none exists in your Xymon installation) |
0.0.0.0 some_unique_name_in_xymon_space # noconn jmxstat | 0.0.0.0 some_unique_name_in_xymon_space # noconn jmxstat | ||
- | 5. Edit the $XYMONHOME/ | + | 5. Edit the $XYMONHOME/ |
| | ||
#DISABLED | #DISABLED | ||
Line 49: | Line 51: | ||
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 255: | Line 257: | ||
===== Changelog ===== | ===== Changelog ===== | ||
- | * **2011-03-23 v 0.1.0 ** | + | * **2017-11-17 v 0.1.12 ** |
- | * Initial release | + | * Support |
- | * **2011-07-03 v 0.1.1 ** | + | * Bug fix: uninitialized string in query_bb |
- | * dont report old gcinfo alerts. | + | * Strategy for no-update (-n) no longer via /bin/echo or ECHO.EXE. |
- | * **2011-07-08 v 0.1.2 ** | + | * Client Agent name added to jmxstat report. |
- | * deal with gc collectors that lie about number of collections. | + | * Support for not performing a connectivity test for individual jvms. |
- | * Corrections | + | * Automatically and portably derives XYMONHOME if not in environment. |
- | * **2011-11-11 v 0.1.3 ** | + | * Implemented a built-in xymongrep |
- | * Support | + | * 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 for xymongrep |
- | * caught some uninitialiased variables. | + | |
- | * better debugging. | + | |
- | * **2013-03-07 v 0.1.5 ** | + | |
- | * put \" wrapper around mbean args to jmx_get. | + | |
- | * cater for jvm not providing maxSpareThreads. | + | |
- | * adapt to change | + | |
- | * **2014-04-08 v 0.1.6 ** | + | |
- | * arithmetic | + | |
- | * **2014-08-07 v 0.1.7 ** | + | |
- | * pre and post exec options to allow writing your own tcl miniprograms | + | |
* **2015-02-28 v 0.1.8 ** | * **2015-02-28 v 0.1.8 ** | ||
* re-work of 0.1.5 using MBEAN and ATTROP. | * re-work of 0.1.5 using MBEAN and ATTROP. | ||
* New keyword " | * New keyword " | ||
* Runtime rrd info sent. | * Runtime rrd info sent. | ||
- | * **2016-09-07 v 0.1.9 ** | + | * **2014-08-07 v 0.1.7 ** |
- | * XYMONNETWORK removed | + | * 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 ** | ||
+ | * put \" wrapper around mbean args to jmx_get. | ||
+ | * cater for jvm not providing maxSpareThreads. | ||
+ | * adapt to change in behaviour of xymongrep. | ||
+ | * **2012-09-15 v 0.1.4 ** | ||
+ | * caught some uninitialized variables. | ||
+ | * better debugging. | ||
+ | * **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 arithmetic in Heap sizes. | ||
+ | * **2011-07-03 v 0.1.1 ** | ||
+ | * dont report old gcinfo alerts. | ||
+ | * **2011-03-23 v 0.1.0 ** | ||
+ | * Initial release |