[smokeping-users] need a performance recommendation
Jon Greaves
Jon.Greaves at attenda.net
Tue Sep 18 12:07:01 CEST 2007
Hi Jeff,
We are doing some performance testing at the moment and Tobi has just
added an event log for the occasions when smokeping probe takes 80% of
the total run time.
We have also added the following code to smokeping.pm so that each time
a probe completes it logs it's run time
Around line #3972
after
my $runtime = time - $now;
Before
if ($runtime > $step) {
Add
#Added by JG 17/09/2007 to track how long probes take to run
my $probeRunTime = $runtime;
my $strProbeRunTime = "$probeRunTime sec(s) to complete";
if (defined $myprobe) {
$probes->{$myprobe}->do_log($strProbeRunTime);
} else {
do_log($strProbeRunTime);
}
###############################
Tobi would be nice if there was an option in the config file to turn on
this logging detail ;)
Regards,
JonG
The information contained in this e-mail and its attachments is confidential.
It is intended only for the named address(es) and may not be disclosed to anyone else without Attenda's consent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20070918/34e9f28d/attachment.html
More information about the smokeping-users
mailing list