<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle">P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
</style>
</head>
<body style="WORD-WRAP: break-word" fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p>Nice, I can try it out. Does it re-connect on JVM restart?</p>
<p>Scaling is not an issue for me right now.</p>
<p> </p>
<p>Thanks</p>
<p> </p>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Times New Roman; COLOR: #000000">
<hr tabindex="-1">
<div id="divRpF7515" style="DIRECTION: ltr"><font color="#000000" size="2" face="Tahoma"><b>From:</b> Bryan Varner [bryan@varnernet.com]<br>
<b>Sent:</b> Tuesday, September 23, 2014 9:21 AM<br>
<b>To:</b> Rahul Agarwal<br>
<b>Cc:</b> collectd@verplant.org<br>
<b>Subject:</b> Re: [collectd] Generic JMX plugin and JVM restart<br>
</font><br>
</div>
<div></div>
<div>
<div>I had this issue with JBoss (and GlassFish at another engagement). Our solution was to bounce Collectd as part of the CI. I didn’t like that solution either.</div>
<div><br>
</div>
<div><br>
</div>
<div>You may want to check out my (in development, but working) FastJMX plugin here:</div>
<div><a href="https://github.com/bvarner/collectd-fast-jmx" target="_blank">https://github.com/bvarner/collectd-fast-jmx</a></div>
<div><br>
</div>
<div>It handles connections / deploy undeploy notifications very differently that the GenericJMX plugin does, and I’d welcome any feedback you may have!</div>
<div><br>
</div>
<div>My efforts the last week or so have been focused in the issue_5 branch, but I believe Master should work pretty well for most cases where GenericJMX was sufficient.</div>
<div><br>
</div>
<div>I’m currently dealing with a special case where I needed collectd to handle ~1200 metrics spread across 9 hosts, and the GenericJMX plugin just couldn’t do it. :-)</div>
<div><br>
</div>
<div>Regards,</div>
<div>-Bryan</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<br>
<div>
<div>On Sep 23, 2014, at 12:13 PM, Rahul Agarwal <<a href="mailto:RAgarwal@livegamer.com" target="_blank">RAgarwal@livegamer.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT: 12px Helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<div style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; DIRECTION: ltr">
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">Hello,</div>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">I have the GenericJMX plugin installed and it works great (I got all the metrics working from contrib/GenericJMX.conf).</div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> </p>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">I am monitoring a Jboss server. The problem I have is that when my JBoss gets re-deployed (new builds via CI) the collectd collections stop working. I have to restart collectd for it to start working again. Some
 Exceptions in the logs are as below. Restarting collectd on every host with deploys would be a deal breaker.</div>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">Maybe there is some config that forces it to re-create a connection or something else I am missing?</div>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">Any help will be much appreciated.</div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> </p>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">Thanks</div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> </p>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">[2014-09-23 16:09:10] GenericJMXConfValue.query: getAttribute failed: javax.management.InstanceNotFoundException: java.lang:type=MemoryPool,name=Code Cache is not registered.<br>
[2014-09-23 16:09:10] GenericJMXConfValue.query: Querying attribute Usage failed.<br>
[2014-09-23 16:09:10] GenericJMXConfValue.query: getAttribute failed: javax.management.InstanceNotFoundException: java.lang:type=MemoryPool,name=CMS Perm Gen is not registered.<br>
</div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> </p>
</div>
_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org" target="_blank">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>