Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D54E10CCB for ; Fri, 3 May 2013 15:20:40 +0000 (UTC) Received: (qmail 80998 invoked by uid 500); 3 May 2013 15:20:36 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 80857 invoked by uid 500); 3 May 2013 15:20:36 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 80847 invoked by uid 99); 3 May 2013 15:20:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 May 2013 15:20:36 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [76.96.59.243] (HELO qmta13.westchester.pa.mail.comcast.net) (76.96.59.243) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 May 2013 15:20:30 +0000 Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74]) by qmta13.westchester.pa.mail.comcast.net with comcast id XQDX1l0011c6gX85DTKo4t; Fri, 03 May 2013 15:19:48 +0000 Received: from Christophers-MacBook-Pro.local ([67.163.129.199]) by omta23.westchester.pa.mail.comcast.net with comcast id XTKo1l00m4JG7C33jTKomF; Fri, 03 May 2013 15:19:48 +0000 Message-ID: <5183D594.50102@christopherschultz.net> Date: Fri, 03 May 2013 11:19:48 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Tomcat Users List Subject: Monitoring Tomcat - Delta Values X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1367594388; bh=+nehJ5peAh0CHyqRPYB+0VR183YLU0IGkM7rfYMAS34=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=oqXROKMk+eT/LTo4wphIOeB7ev0hxwtQyadRBACGVnvJJ4n5Hyi7xmexXSsZoQGZ2 5FfewRiTe6gLHj760pZlMxTrk2a7i4n7bLVBbflIHn8TCV+p8+AQRb4qTG9JGv4j28 Ip3G+Wrn1YHqOKYjSkPx7Sygc5ti70wUQ4nyZiMr+G6s0aKD85ET1ysX+o/12sGCq9 9fd88gVOTspUU6Q2MDCOVRXef3cFth2CoJ2J3zW8wZOPzH+tFFC0o7CiWFJm9SqUlC S+3xLDE4iKpaOa2SaZHnoJq4TBeROrQAiJRn8xaZ49zygEolG/qfqTjQW84mzECC3T FuhmPtmbpkTtg== X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 All, In Rainer's talk at ApacheCon [1], he mentioned a number of JMX-inspectable values that weren't terribly informative on their own (e.g. number of total requests processed by a connector) but were interesting when observed as deltas of their previous value. I was wondering if anyone could recommend an existing tool to capture that data, compute the deltas, etc. or if folks just roll their own? This kind of thing could be very useful to lots of users and I was thinking of linking to an existing tool on the FAQ/Monitoring wiki page or writing such a tool and posting it there (similar to the check_jmxproxy Perl script I put up there for use with Nagios). Ultimately, I'm thinking that it might be nice to have a single script that can (given some configuration) take a JMX snapshot of Tomcat (probably through a filter that grabs only those values of interest), record the values somewhere (e.g. bdb, rrd, etc.), compute deltas where appropriate, and then publish to a monitoring tool (e.g. Nagios). As it stands in my environments, I typically have 4-6 check_jmxproxy processes that all take a single sample via JMXProxyServlet on-demand from Nagios. Though the scripts aren't terribly CPU- or memory-intensive, it seems like things could be streamlined with a tool that can take care of multiple samples and also provide this additional capability. Any ideas or suggestions? I'm motivated enough to build this stuff myself if such a tool does not yet exist. Thanks, - -chris [1] http://archive.apachecon.com/na2013/presentations/27-Wednesday/A_Patchy_Web/14:45-Monitoring_Apache_Tomcat.pdf -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJRg9WTAAoJEBzwKT+lPKRYsYwP/3t+JlHZbBra0BPPKPMV1TJn DoIhY0xHlssZyDBPswB/B0ujelqf5exL9wVzCxI5EuVvYudazrguPnBAruJOqSxf Tunoloa14uGMVep6HXT81OWisP1SfT0HO3fCQINsY4T7fUmtDjUIQ6lMmuXXGw4V gnzYGyqSmDvumNJe1kEQBqrhqSO2/dvSUqufnvL8fOysFd0pi3hIN5UgkoS/nz+0 bXjkHzvXOWVcS66vld1L2tZ017DA3BDHi2/McJTPUaFqssQoPcj0AbGxp971NMY6 4jQEui99XgsCw9hQZun6VmlmdC7Re1Gi/cLnJkgbtCzIeB1unL/v6eEaFG0EvCYM p0UUN2k6EMKZY/4KZF5ZsKRgALJUDiUegYD4DAtJgEaLGCSOPScsX37xmMjSCfff OpoMSTOC0Dhstyi5sSY+FYxP4PViuU5MD9S4VXMsF+0qZ6MaFWzWbagAuG2okpmj VzFeowa+PX7ZxP4p5b0gGjv4K62QViGOYo/dvsCM9RzoNiw3StyFYUe6Hv6Ri3jv 02Zu4U/GpXLDwytEYxpL+SKKR7DelkNhqypShF5VS0F8Fx0OMRkTQgGJgKxCyQCO oekKlrcsd88QkgcKkNGGqAqQf64k1i73aD2puiMheVBQup7K31MYyy34Qu76YLM6 67Ja7XlZEY85Xuv9H8vU =L5cp -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org