<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Jmx4Perl</title>
	<atom:link href="http://labs.consol.de/lang/de/jmx4perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.consol.de</link>
	<description>Open Source by ConSol*</description>
	<lastBuildDate>Fri, 30 Dec 2011 21:13:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: roland</title>
		<link>http://labs.consol.de/lang/de/jmx4perl/comment-page-1/#comment-38036</link>
		<dc:creator>roland</dc:creator>
		<pubDate>Tue, 04 Oct 2011 09:53:55 +0000</pubDate>
		<guid isPermaLink="false">http://labs.consol.de/?page_id=211#comment-38036</guid>
		<description>&lt;p&gt;Hi Ray,&lt;/p&gt;

&lt;p&gt;your command definition in commands.cfg looks strange. You should use &#039;--&#039; instead of &#039;.&#039; as prefix to the options. I guess, this is a copy&amp;paste issue.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Ray,</p>

<p>your command definition in commands.cfg looks strange. You should use &#8216;&#8211;&#8217; instead of &#8216;.&#8217; as prefix to the options. I guess, this is a copy&amp;paste issue.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ray Reid</title>
		<link>http://labs.consol.de/lang/de/jmx4perl/comment-page-1/#comment-37322</link>
		<dc:creator>Ray Reid</dc:creator>
		<pubDate>Wed, 28 Sep 2011 14:52:31 +0000</pubDate>
		<guid isPermaLink="false">http://labs.consol.de/?page_id=211#comment-37322</guid>
		<description>&lt;p&gt;Try to get check_jmx4perl working to monitor Glassfish.&lt;/p&gt;

&lt;p&gt;Best result that I get is : UNKNOWN - An MBean name and a attribute/operation must be provided&lt;/p&gt;

&lt;p&gt;/usr/local/nagios/etc/nrpe.cfg
command[check_status]=/usr/local/nagios/libexec/check_jmx4perl --url http://:8080/jolokia --alias MEMORY_HEAP_USED --base MEMORY_HEAP_MAX --critical :80&lt;/p&gt;

&lt;p&gt;/usr/local/nagios/etc/objects/commands.cfg
command_line $USER1$/check_jmx4perl -u http://$HOSTADDRESS$:$ARG1$/jolokia .config $USER1$/jmx4perl/jmx4perl.cfg .check $ARG2$ .warning $ARG3$ .critical $ARG4$&lt;/p&gt;

&lt;p&gt;/usr/local/nagios/etc/objects/server.cfg
check_jmx4perl_config!8080!memory_heap!70!90&lt;/p&gt;

&lt;p&gt;Anyone got any document to get this working with Glassfish? I mostly followed :
http://www.op5.com/how-to/howto-monitor-application-server-op5-monitor-jmx4perl/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Try to get check_jmx4perl working to monitor Glassfish.</p>

<p>Best result that I get is : UNKNOWN &#8211; An MBean name and a attribute/operation must be provided</p>

<p>/usr/local/nagios/etc/nrpe.cfg
command[check_status]=/usr/local/nagios/libexec/check_jmx4perl &#8211;url <a href="http://:8080/jolokia" rel="nofollow">http://:8080/jolokia</a> &#8211;alias MEMORY_HEAP_USED &#8211;base MEMORY_HEAP_MAX &#8211;critical :80</p>

<p>/usr/local/nagios/etc/objects/commands.cfg
command_line $USER1$/check_jmx4perl -u <a href="http://$HOSTADDRESS$:$ARG1$/jolokia" rel="nofollow">http://$HOSTADDRESS$:$ARG1$/jolokia</a> .config $USER1$/jmx4perl/jmx4perl.cfg .check $ARG2$ .warning $ARG3$ .critical $ARG4$</p>

<p>/usr/local/nagios/etc/objects/server.cfg
check_jmx4perl_config!8080!memory_heap!70!90</p>

<p>Anyone got any document to get this working with Glassfish? I mostly followed :
<a href="http://www.op5.com/how-to/howto-monitor-application-server-op5-monitor-jmx4perl/" rel="nofollow">http://www.op5.com/how-to/howto-monitor-application-server-op5-monitor-jmx4perl/</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Wittenberg</title>
		<link>http://labs.consol.de/lang/de/jmx4perl/comment-page-1/#comment-25269</link>
		<dc:creator>Daniel Wittenberg</dc:creator>
		<pubDate>Mon, 27 Jun 2011 20:34:41 +0000</pubDate>
		<guid isPermaLink="false">http://labs.consol.de/?page_id=211#comment-25269</guid>
		<description>&lt;p&gt;&lt;a href=&quot;#comment-24313&quot; rel=&quot;nofollow&quot;&gt;@Daniel Wittenberg&lt;/a&gt;, 
So anyone actually use WebSpehre have any examples they want to share on how to get the queries to work with jmx4perl or check_jmx4perl?&lt;/p&gt;

&lt;p&gt;Dan&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><a href="#comment-24313" rel="nofollow">@Daniel Wittenberg</a>, 
So anyone actually use WebSpehre have any examples they want to share on how to get the queries to work with jmx4perl or check_jmx4perl?</p>

<p>Dan</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Wittenberg</title>
		<link>http://labs.consol.de/lang/de/jmx4perl/comment-page-1/#comment-24313</link>
		<dc:creator>Daniel Wittenberg</dc:creator>
		<pubDate>Wed, 15 Jun 2011 21:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://labs.consol.de/?page_id=211#comment-24313</guid>
		<description>&lt;p&gt;We&#039;re running various WebSphere apps, and looking to gather various performance metrics and not having much luck.  I can do basic queries for HeapMemory, Operating system, config info, etc.  but things I&#039;ve been asked to look at I can&#039;t find:
1) Application metrics
   - Latency
   - Threshold_violotions
   - processCPUUtil
   - processCPUUtilAbs
   - Live Session Count
   - Throughput
   - Exceptions&lt;/p&gt;

&lt;p&gt;I&#039;ve been told by some folks that there&#039;s a PerfMBean to query but I&#039;ve not had much luck with that.  Anyone else doing WebSphere have a list of items they are monitoring?&lt;/p&gt;

&lt;p&gt;Thanks!
Dan&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>We&#8217;re running various WebSphere apps, and looking to gather various performance metrics and not having much luck.  I can do basic queries for HeapMemory, Operating system, config info, etc.  but things I&#8217;ve been asked to look at I can&#8217;t find:
1) Application metrics
   &#8211; Latency
   &#8211; Threshold_violotions
   &#8211; processCPUUtil
   &#8211; processCPUUtilAbs
   &#8211; Live Session Count
   &#8211; Throughput
   &#8211; Exceptions</p>

<p>I&#8217;ve been told by some folks that there&#8217;s a PerfMBean to query but I&#8217;ve not had much luck with that.  Anyone else doing WebSphere have a list of items they are monitoring?</p>

<p>Thanks!
Dan</p>]]></content:encoded>
	</item>
	<item>
		<title>By: anishkumar</title>
		<link>http://labs.consol.de/lang/de/jmx4perl/comment-page-1/#comment-22537</link>
		<dc:creator>anishkumar</dc:creator>
		<pubDate>Thu, 26 May 2011 07:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://labs.consol.de/?page_id=211#comment-22537</guid>
		<description>&lt;p&gt;Hi guys,&lt;/p&gt;

&lt;p&gt;I just searching monitoring tool for java application -- i hope it will works great--do any have the documentation for this how to configure this plugin in nagios!!!!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi guys,</p>

<p>I just searching monitoring tool for java application &#8212; i hope it will works great&#8211;do any have the documentation for this how to configure this plugin in nagios!!!!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Moennig</title>
		<link>http://labs.consol.de/lang/de/jmx4perl/comment-page-1/#comment-15090</link>
		<dc:creator>Marcus Moennig</dc:creator>
		<pubDate>Mon, 14 Feb 2011 07:03:23 +0000</pubDate>
		<guid isPermaLink="false">http://labs.consol.de/?page_id=211#comment-15090</guid>
		<description>&lt;p&gt;&lt;a href=&quot;#comment-14716&quot; rel=&quot;nofollow&quot;&gt;@roland&lt;/a&gt;, Thanks! This works fine for me, though it now would be nice to divide that by the number of processors (in case you were still looking for a reason to combine delta and base... ).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><a href="#comment-14716" rel="nofollow">@roland</a>, Thanks! This works fine for me, though it now would be nice to divide that by the number of processors (in case you were still looking for a reason to combine delta and base&#8230; ).</p>]]></content:encoded>
	</item>
	<item>
		<title>By: roland</title>
		<link>http://labs.consol.de/lang/de/jmx4perl/comment-page-1/#comment-14716</link>
		<dc:creator>roland</dc:creator>
		<pubDate>Thu, 10 Feb 2011 20:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://labs.consol.de/?page_id=211#comment-14716</guid>
		<description>&lt;p&gt;&lt;a href=&quot;#comment-14713&quot; rel=&quot;nofollow&quot;&gt;@Marcus Mönnig&lt;/a&gt;, 
using a delta on the uptime doesn&#039;t make much sense IMO since this is simply the duration between two checks (except of course if the server went down in the meantime). What you can do is to normalize the used cpu time to e.g. a second, so that it shows you the user+system time of your Java process:&lt;/p&gt;

&lt;p&gt;&lt;pre lang=&quot;bash&quot;&gt;
check_jmx4perl -u http://localhost:8080/jolokia -m java.lang:type=OperatingSystem -a ProcessCpuTime  --unit ns --delta 60 -w 1000000000
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;The check above gives you the time spent of your process within one minute (use --delta 1 for getting checking the nanoseconds spent in a real second)&lt;/p&gt;

&lt;p&gt;Please note, that this value is &lt;b&gt;not&lt;/b&gt; the CPU load, but the user+system time you Java process consumed. And it is measure in nanoseconds, although this doesn&#039;t mean it has this accuracy.&lt;/p&gt;

&lt;p&gt;And finally to answer your question ;-): No, it is not possible to combine --delta and --base (and it is not yet planned)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><a href="#comment-14713" rel="nofollow">@Marcus Mönnig</a>, 
using a delta on the uptime doesn&#8217;t make much sense IMO since this is simply the duration between two checks (except of course if the server went down in the meantime). What you can do is to normalize the used cpu time to e.g. a second, so that it shows you the user+system time of your Java process:</p>

<p>

</p>
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">check_jmx4perl <span style="color: #660033;">-u</span> http:<span style="color: #000000; font-weight: bold;">//</span>localhost:<span style="color: #000000;">8080</span><span style="color: #000000; font-weight: bold;">/</span>jolokia <span style="color: #660033;">-m</span> java.lang:<span style="color: #007800;">type</span>=OperatingSystem <span style="color: #660033;">-a</span> ProcessCpuTime  <span style="color: #660033;">--unit</span> ns <span style="color: #660033;">--delta</span> <span style="color: #000000;">60</span> <span style="color: #660033;">-w</span> <span style="color: #000000;">1000000000</span></pre></div></div>




<p>The check above gives you the time spent of your process within one minute (use &#8211;delta 1 for getting checking the nanoseconds spent in a real second)</p>

<p>Please note, that this value is <b>not</b> the CPU load, but the user+system time you Java process consumed. And it is measure in nanoseconds, although this doesn&#8217;t mean it has this accuracy.</p>

<p>And finally to answer your question ;-): No, it is not possible to combine &#8211;delta and &#8211;base (and it is not yet planned)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Mönnig</title>
		<link>http://labs.consol.de/lang/de/jmx4perl/comment-page-1/#comment-14713</link>
		<dc:creator>Marcus Mönnig</dc:creator>
		<pubDate>Thu, 10 Feb 2011 19:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://labs.consol.de/?page_id=211#comment-14713</guid>
		<description>&lt;p&gt;Is it possible to combine ---delta and --base with check_jmx4perl?&lt;/p&gt;

&lt;p&gt;E.g. I would like to show CPU load in % within the last interval. I think I would need to put the delta for current and last values of &quot;java.lang, type=OperatingSystem&#124;ProcessCpuTime&quot; in relation to the delta for current and last value of &quot;java.lang, type=Runtime&#124;Uptime&quot;, but can I do a delta on the base value, too?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Is it possible to combine &#8212;delta and &#8211;base with check_jmx4perl?</p>

<p>E.g. I would like to show CPU load in % within the last interval. I think I would need to put the delta for current and last values of &#8220;java.lang, type=OperatingSystem|ProcessCpuTime&#8221; in relation to the delta for current and last value of &#8220;java.lang, type=Runtime|Uptime&#8221;, but can I do a delta on the base value, too?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: 17 Nagios-Fliegen mit einer Klappe: OMD 0.44 &#124; KenntWas.de - Technische Tips</title>
		<link>http://labs.consol.de/lang/de/jmx4perl/comment-page-1/#comment-10514</link>
		<dc:creator>17 Nagios-Fliegen mit einer Klappe: OMD 0.44 &#124; KenntWas.de - Technische Tips</dc:creator>
		<pubDate>Tue, 21 Dec 2010 22:11:29 +0000</pubDate>
		<guid isPermaLink="false">http://labs.consol.de/?page_id=211#comment-10514</guid>
		<description>&lt;p&gt;[...] jmx4perl und check_jmx4perl aus den Labs der Fa. Consol überprüfen J2EE-Server (z.B. jBoss/Tomcat) über das JMX-Protokoll. Das Addon benötigt keine Java Installation, aber anscheinend etwas Konfiguration. Bei mir läuft es noch nicht. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] jmx4perl und check_jmx4perl aus den Labs der Fa. Consol überprüfen J2EE-Server (z.B. jBoss/Tomcat) über das JMX-Protokoll. Das Addon benötigt keine Java Installation, aber anscheinend etwas Konfiguration. Bei mir läuft es noch nicht. [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: OMD Version 0.44 erschienen &#187; klimmbimm</title>
		<link>http://labs.consol.de/lang/de/jmx4perl/comment-page-1/#comment-7801</link>
		<dc:creator>OMD Version 0.44 erschienen &#187; klimmbimm</dc:creator>
		<pubDate>Mon, 15 Nov 2010 15:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://labs.consol.de/?page_id=211#comment-7801</guid>
		<description>&lt;p&gt;[...] &#8230; kann verschiedene Java Application Server überwachen ohne Java auf dem Nagios Server zu benötigen. Mehr Infos auf http://labs.consol.de/jmx4perl/ [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] &#8230; kann verschiedene Java Application Server überwachen ohne Java auf dem Nagios Server zu benötigen. Mehr Infos auf <a href="http://labs.consol.de/jmx4perl/" rel="nofollow">http://labs.consol.de/jmx4perl/</a> [...]</p>]]></content:encoded>
	</item>
</channel>
</rss>

