Hi Brett
I have one comment on one the difference that you have pointed out
between the existing project and the one that you have developed. On the
second point:
2. Can select which resource to monitor: mem / swap , cpu and load
parameters.
I am assuming that you are going to hard code the MIB parameters that
will be queried on the target machine to get the cpu,mem and other load
parameters. I would request you to make this generic , In the sense you
could take this value as an input. The user should be able to supply the
custom MIB parameter which he needs to monitor. I guess by doing so he
can monitor any MIB parameter that is supported on the target machine.
This can be useful in many ways. if it is done in this way then the user
could add any MIB parameter to be monitored and then using assertions
can validate the results against his own requirments.
Other things like accepting of custom community strings and implemtation
of snmpwalk functionality is certainly good to have.
Thanks
Jatin
On 2/25/2010 8:56 PM, Brett Cave wrote:
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<[email protected]> 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<
[email protected]> 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<[email protected]> 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<[email protected]>
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<[email protected]>
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<
[email protected]> 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<[email protected]>
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]