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.

_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to