<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><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">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">RAgarwal@livegamer.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div fpstyle="1" ocsi="0" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="direction: ltr; font-family: Tahoma; font-size: 10pt;"><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">collectd@verplant.org</a><br><a href="http://mailman.verplant.org/listinfo/collectd">http://mailman.verplant.org/listinfo/collectd</a></div></blockquote></div><br></body></html>