Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 95389 invoked from network); 25 Feb 2010 15:26:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2010 15:26:59 -0000 Received: (qmail 89116 invoked by uid 500); 25 Feb 2010 15:26:59 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 89099 invoked by uid 500); 25 Feb 2010 15:26:58 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 89091 invoked by uid 99); 25 Feb 2010 15:26:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 15:26:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of brettcave@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 15:26:49 +0000 Received: by wyb40 with SMTP id 40so1942990wyb.31 for ; Thu, 25 Feb 2010 07:26:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=9fTOv9LRE14YXXB/DJkW+cd522nlBIACV1PfmmAhaFc=; b=XpFT5zVooQic4WvOYpaP28LP/5pzDloE9gq9traEbVV1lZIBjyhpaPY9B04rItygbb N076+9SfCKgahmS/6OVBrXv4guE8+1I+DZHz6PtdSMnSL0nNOJ2WnjalSk+0zpuVcyxI MckKOsorUWABa77EvzadhKadM0lHyZyp56D5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BzYRyzbf+zEVcDnynkHp4ikBklCFN6Lj5L+xN7Sany8DBNdoCyUFcOEnCWitgMRO+j 2z61SMEj7rrgeUqaYXUSZzJlKRNqBD7WqxfLIpyzmXFcIbYyA00MtmYx3/LorxDk3bEO DmgHvC+bEOgsycckCHk8RHZnr9oCws3LX3L88= MIME-Version: 1.0 Received: by 10.216.90.201 with SMTP id e51mr720448wef.59.1267111589497; Thu, 25 Feb 2010 07:26:29 -0800 (PST) In-Reply-To: <4B866272.90504@cisco.com> References: <82d5efbf1002230658t5ba63838k89330ef71a56619f@mail.gmail.com> <94f76c221002231455u15261c61ne2dc8abd76df684b@mail.gmail.com> <4483c26c1002231540j481a90e2re505a4572075191c@mail.gmail.com> <82d5efbf1002240239o512cf271i89d13385cf8a89a5@mail.gmail.com> <4B866272.90504@cisco.com> Date: Thu, 25 Feb 2010 17:26:29 +0200 Message-ID: Subject: Re: Effectively monitoring target resources with jmeter? From: Brett Cave To: JMeter Users List Content-Type: multipart/alternative; boundary=0016e6d7e8722ed3b304806e6899 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d7e8722ed3b304806e6899 Content-Type: text/plain; charset=ISO-8859-1 Hi, There is already a project for monitoring SNMP: http://snmpjmeter.sourceforge.net/ which does a lot of what I was going to do. I basically isolated a handful of OID's, and was going to allow configuration of monitored resources based on this. I may still finish off SNMP plugin if the existing project doesnt meet our needs. Differences between what i have so far and the existing one: 1. mine can currently accept custom community string (and easy to adapt for v3 snmp) 2. can select which resource to monitor: mem / swap, cpu and load parameters. 3. started working on snmpwalk type funtionality. feedback on this? On Thu, Feb 25, 2010 at 1:43 PM, Jatin Davey wrote: > Hi Brett > > This feature of yours is really useful for monitoring of any device that > has snmp running on it. I would request you to please add a bugzilla > enhancement so that it is considered for addition into future releases of > JMeter. > > Thanks > Jatin > > > On 2/24/2010 11:25 PM, Brett Cave wrote: > >> MysqlCollector plugin added to JMeter wiki: >> >> http://wiki.apache.org/jakarta-jmeter/MysqlCollectorPlugin (check >> attachments for the patch). >> >> Please excuse the lack of conforming to programming standards, I know >> theres >> a lot of bad things (tm) in there, if more experienced developers can give >> some advice / patches it could be a lot more useful. the core logic is >> there, and it works for our test plans. >> >> Have just finished the SNMP sampler, starting on the GUI.... >> >> Any comments on streamlining development of this (I've started a >> sourceforge >> project for the mysql plugin, but need to be able to have drop-in >> functionality and run it as a project seperate from JMeter). >> >> Regards, >> Brett >> >> >> On Wed, Feb 24, 2010 at 12:39 PM, Thibaut Raballand< >> thibaut.raballand@gmail.com> wrote: >> >> >> >>> That's sounds like great stuff ! :) >>> And more generic that the stuff I do to fill in the holes. >>> >>> Tibo >>> >>> On Wed, Feb 24, 2010 at 11:05, Brett Cave wrote: >>> >>> >>> >>>> Just finished the MysqlCollectorGui& MysqlCollector classes, nothing >>>> too >>>> complicated, just finalising db schema and fixing up prepared >>>> statements, >>>> then will share. it works great, but there's no doubt plenty of room for >>>> improvement. >>>> >>>> Also, have just finished downloading snmp4j, next step is to add a >>>> >>>> >>> sampler >>> >>> >>>> that polls SNMP on target hosts to get resource usage and add the >>>> results >>>> into the collector. I would say SNMP is pretty generic and implemented >>>> on >>>> most servers anyway, and it beats running a "jmeter-agent" like some of >>>> >>>> >>> the >>> >>> >>>> load testing frameworks. (then again, an agent might not be a bad >>>> >>>> >>> idea...) >>> >>> >>>> Regards, >>>> Brett >>>> >>>> On Wed, Feb 24, 2010 at 1:40 AM, Deepak Shetty >>>> >>>> >>> wrote: >>> >>> >>>> >>>> >>>>> Could you go into a little more detail about how you use a listener to >>>>>> >>>>>> >>>>> write >>>>> >>>>> >>>>>> data to the DB >>>>>> >>>>>> >>>>> you dont need a listener, you can do it after the test has run. >>>>> If your result file is CSV this is trivial. If XML then its fairly easy >>>>> >>>>> >>>> to >>>> >>>> >>>>> parse and insert. >>>>> >>>>> On Tue, Feb 23, 2010 at 2:55 PM, James Hill >>>>> wrote: >>>>> >>>>> >>>>> >>>>>> Could you go into a little more detail about how you use a listener >>>>>> >>>>>> >>>>> to >>> >>> >>>> write >>>>>> data to the DB? I've been looking at doing it as part of the Ant task >>>>>> >>>>>> >>>>> that >>>>> >>>>> >>>>>> calls JMeter but if there's an easier way I'd love to find it :) >>>>>> >>>>>> Also, what do you use to collect load/mem/cpu usage from the servers? >>>>>> >>>>>> >>>>> I'm >>>> >>>> >>>>> considering sar to do this, but seeing as there's an existing license >>>>>> >>>>>> >>>>> for >>>> >>>> >>>>> Spotlight on Unix I'm not sure I need to (seeing as it collects that >>>>>> >>>>>> >>>>> info >>>> >>>> >>>>> anyway). However, it could be handy for another project where SoU >>>>>> >>>>>> >>>>> isn't >>> >>> >>>> in >>>>> >>>>> >>>>>> use. >>>>>> >>>>>> I like the idea of the php website to collate and display the >>>>>> >>>>>> >>>>> results. >>> >>> >>>> When >>>>> >>>>> >>>>>> I have some spare time I'd like to put together a USB drive with >>>>>> >>>>>> >>>>> JMeter, >>>> >>>> >>>>> MySQL and relevant scripts and howto's that can be used on just about >>>>>> >>>>>> >>>>> any >>>> >>>> >>>>> site I end up at. Simplify the startup time. As you point out >>>>>> >>>>>> >>>>> Thibaut, >>> >>> >>>> it >>>> >>>> >>>>> takes time to get to that point but it must save a lot of hassle in >>>>>> >>>>>> >>>>> the >>> >>> >>>> long >>>>>> run. >>>>>> >>>>>> On Wed, Feb 24, 2010 at 1:58 AM, Thibaut Raballand< >>>>>> thibaut.raballand@gmail.com> wrote: >>>>>> >>>>>> >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> As for us, >>>>>>> - We send the results of each run directly from JMeter to a mysql >>>>>>> >>>>>>> >>>>>> DB >>> >>> >>>> (with >>>>>> >>>>>> >>>>>>> a >>>>>>> listener) >>>>>>> - We collect load / mem / cpu usage from the servers to the same DB >>>>>>> automatically >>>>>>> - We have a PHP web site the correlate automatically those datas >>>>>>> >>>>>>> Sure, you need some time to put all this up and running, but it's >>>>>>> >>>>>>> >>>>>> worth >>>> >>>> >>>>> it. >>>>>> >>>>>> >>>>>>> Regards, >>>>>>> Tibo >>>>>>> >>>>>>> On Tue, Feb 23, 2010 at 14:45, Brett Cave >>>>>>> >>>>>>> >>>>>> wrote: >>>> >>>> >>>>> >>>>>>> >>>>>>>> hi, >>>>>>>> >>>>>>>> been using jmeter for a few weeks now, and wondering how other >>>>>>>> >>>>>>>> >>>>>>> users >>>> >>>> >>>>> correlate target load / mem / cpu usage into jmeter reporting? My >>>>>>>> >>>>>>>> >>>>>>> current >>>>>> >>>>>> >>>>>>> method is to enable SNMP and use a seperate RRD-tool based system >>>>>>>> >>>>>>>> >>>>>>> to >>>> >>>> >>>>> generate graphs, and then correlate the target resource usage >>>>>>>> >>>>>>>> >>>>>>> with >>> >>> >>>> the >>>>> >>>>> >>>>>> load >>>>>>> >>>>>>> >>>>>>>> injection manually. This is a manual process, and i would like to >>>>>>>> >>>>>>>> >>>>>>> get >>>> >>>> >>>>> data >>>>>>> >>>>>>> >>>>>>>> specific to each test i run (load testing currently runs a number >>>>>>>> >>>>>>>> >>>>>>> of >>>> >>>> >>>>> tests, >>>>>>> >>>>>>> >>>>>>>> 1 by 1). >>>>>>>> >>>>>>>> Regards, >>>>>>>> Brett >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> > --0016e6d7e8722ed3b304806e6899--