<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div style="margin: 0px; line-height: normal;" class=""><span style="font-kerning: none" class="">If JMX is on, you can throw periodic calls at the endpoint and get back metrics you’d like to see. &nbsp;Check this out:</span></div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><span style="font-kerning: none" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-kerning: none" class="">using the free package “check_jmx”&nbsp;</span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-kerning: none" class=""><a href="https://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx/details:" class="">https://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx/details:</a></span></div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><span style="font-kerning: none" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><span style="font-kerning: none" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-kerning: none" class="">./check_jmx -U service:jmx:rmi://10.212.212.37:44444/jndi/<a href="rmi://10.212.212.37:1099/karaf-root" class="">rmi://10.212.212.37:1099/karaf-root</a> -O java.lang:type=Memory -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 4248302272 -c 5498760192 -username XXXXX -password XXXXX</span></div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><span style="font-kerning: none" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-kerning: none" class=""><b class="">Eden Space Used</b></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-kerning: none" class="">./check_jmx -U service:jmx:rmi:///jndi/<a href="rmi://localhost:1099/jmxrmi" class="">rmi://localhost:1099/jmxrmi</a> -O java.lang:type=MemoryPool,name="Eden Space" -A Usage -K used -username XXXXX&nbsp; -password XXXXX</span></div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><span style="font-kerning: none" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-kerning: none" class=""><b class="">Perm Gen Used</b></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-kerning: none" class="">./check_jmx -U service:jmx:rmi:///jndi/<a href="rmi://localhost:1099/jmxrmi" class="">rmi://localhost:1099/jmxrmi</a> -O java.lang:type=MemoryPool,name="Perm Gen" -A Usage -K used -username XXXXX -password XXXXX</span></div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><span style="font-kerning: none" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-kerning: none" class=""><b class="">Survivor Space Used</b></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-kerning: none" class="">./check_jmx -U service:jmx:rmi:///jndi/<a href="rmi://localhost:1099/jmxrmi" class="">rmi://localhost:1099/jmxrmi</a> -O java.lang:type=MemoryPool,name="Survivor Space" -A Usage -K used -username XXXXX -password XXXXX</span></div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><span style="font-kerning: none" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-kerning: none" class=""><b class="">Tenured Gen Used</b></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-kerning: none" class="">./check_jmx -U service:jmx:rmi:///jndi/<a href="rmi://localhost:1099/jmxrmi" class="">rmi://localhost:1099/jmxrmi</a> -O java.lang:type=MemoryPool,name="Tenured Gen" -A Usage -K used -username XXXXX -password XXXXX</span></div></div><div class=""><span style="font-kerning: none" class=""><br class=""></span></div><div class=""><br class=""></div><br class=""><div style=""><blockquote type="cite" class=""><div class="">On Oct 4, 2016, at 6:20 AM, Chuck Payne &lt;<a href="mailto:terrorpup@gmail.com" class="">terrorpup@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Guys,<br class=""><br class="">I got a couple of Tomcat Apps that when Jenkins does a build the app<br class="">stop responding.<br class=""><br class="">I can't use tcp port monitor with Nagios, because tomcat is up.<br class=""><br class="">So is there a way to monitor an app with Nagios, that is the pages<br class="">stop responding. I can get an alert, if I have to write my own jsp<br class="">page to monitor.<br class="">-- <br class="">Terror PUP a.k.a<br class="">Chuck "PUP" Payne<br class="">-----------------------------------------<br class="">Discover it! Enjoy it! Share it! openSUSE Linux.<br class="">-----------------------------------------<br class="">openSUSE -- Terrorpup<br class="">openSUSE Ambassador/openSUSE Member<br class="">skype,twiiter,identica,friendfeed -- terrorpup<br class="">freenode(irc) --terrorpup/lupinstein<br class="">Register Linux Userid: 155363<br class=""><br class="">Have you tried SUSE Studio? Need to create a Live CD, &nbsp;an app you want<br class="">to package and distribute , or create your own linux distro. Give SUSE<br class="">Studio a try.<br class="">_______________________________________________<br class="">Ale mailing list<br class=""><a href="mailto:Ale@ale.org" class="">Ale@ale.org</a><br class="">http://mail.ale.org/mailman/listinfo/ale<br class="">See JOBS, ANNOUNCE and SCHOOLS lists at<br class="">http://mail.ale.org/mailman/listinfo<br class=""></div></div></blockquote></div><br class=""></body></html>