<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Chuck Payne" <terrorpup@gmail.com><br><b>To: </b>"Atlanta Linux Enthusiasts - Yes! We run Linux!" <ale@ale.org><br><b>Sent: </b>Tuesday, October 4, 2016 9:20:39 AM<br><b>Subject: </b>[ale] Tomcat Monitoring<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;">Guys,<br><br>I got a couple of Tomcat Apps that when Jenkins does a build the app<br>stop responding.<br><br>I can't use tcp port monitor with Nagios, because tomcat is up.<br><br>So is there a way to monitor an app with Nagios, that is the pages<br>stop responding. I can get an alert, if I have to write my own jsp<br>page to monitor.<br></blockquote><div><br></div><div>Bit behind here. My Xfinity Business is down and I had to link my router to the Xfinity AP on my neighbor's modem.</div><div><br data-mce-bogus="1"></div><div>1. Define "down". To some ICMP reply is up. To others it is not. Down/Up is an abstract idea that can be very different per application.</div><div><br data-mce-bogus="1"></div><div>2. You can write a nagios plugin that can go to the web page, grok for some text you'd expect and alarm if it gets a 500 or the code it not there.</div><div><br data-mce-bogus="1"></div><div>3. I had a user problem when my GUI devs did an update. Their update would take a minute, but some users would see that when the page refreshed. They'd contact us. I instructed my developers to give the user an "under maintenance page" with a 5 minute countdown to refresh. This ended those calls.</div><div><br data-mce-bogus="1"></div><div>4. Log all exceptions, etc to a file and look at those as needed. You're probably already doing this.</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Your concern is correct. Just because the app engine is up does not mean the app is working.</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div></div></div></body></html>