Skip to Content.
Sympa Menu

perfsonar-dev - [pS-dev] [GEANT/SA2/SA2T3-OPPD] r781 - in branches/perfsonar-oppd-all-0.53: etc etc/oppd.d.example lib/perfSONAR/MP

Subject: perfsonar development work

List archive

[pS-dev] [GEANT/SA2/SA2T3-OPPD] r781 - in branches/perfsonar-oppd-all-0.53: etc etc/oppd.d.example lib/perfSONAR/MP


Chronological Thread 
  • From:
  • To:
  • Subject: [pS-dev] [GEANT/SA2/SA2T3-OPPD] r781 - in branches/perfsonar-oppd-all-0.53: etc etc/oppd.d.example lib/perfSONAR/MP
  • Date: Fri, 7 Dec 2012 11:07:46 +0000 (GMT)

Author: dfn.calim
Date: 2012-12-07 11:07:46 +0000 (Fri, 07 Dec 2012)
New Revision: 781

Modified:
branches/perfsonar-oppd-all-0.53/etc/oppd.conf.example
branches/perfsonar-oppd-all-0.53/etc/oppd.d.example/owamp.conf
branches/perfsonar-oppd-all-0.53/lib/perfSONAR/MP/OWAMP.pm
Log:
Add new schema code for summary and raw data in OWAMP MP

Modified: branches/perfsonar-oppd-all-0.53/etc/oppd.conf.example
===================================================================
--- branches/perfsonar-oppd-all-0.53/etc/oppd.conf.example 2012-12-07
07:22:15 UTC (rev 780)
+++ branches/perfsonar-oppd-all-0.53/etc/oppd.conf.example 2012-12-07
11:07:46 UTC (rev 781)
@@ -44,7 +44,7 @@
# Example:
# logfile "/var/log/oppd.log"
#
-#logfile off
+logfile "oppd.log"


#
@@ -153,7 +153,7 @@
# Example:
# pidfile off
#
-#pidfile "/var/run/oppd.pid"
+pidfile "oppd.pid"


#

Modified: branches/perfsonar-oppd-all-0.53/etc/oppd.d.example/owamp.conf
===================================================================
--- branches/perfsonar-oppd-all-0.53/etc/oppd.d.example/owamp.conf
2012-12-07 07:22:15 UTC (rev 780)
+++ branches/perfsonar-oppd-all-0.53/etc/oppd.d.example/owamp.conf
2012-12-07 11:07:46 UTC (rev 781)
@@ -23,7 +23,7 @@
metric "bandwidth"
# Measurement metric(s). More than one element definition possible.
tool "owping" # Tool name
- countlimit 1000 # Number of packages allowed. Not to
overflow the server
+ countlimit 6000 # Number of packages allowed. Not to
overflow the server

#
# Module parameters

Modified: branches/perfsonar-oppd-all-0.53/lib/perfSONAR/MP/OWAMP.pm
===================================================================
--- branches/perfsonar-oppd-all-0.53/lib/perfSONAR/MP/OWAMP.pm 2012-12-07
07:22:15 UTC (rev 780)
+++ branches/perfsonar-oppd-all-0.53/lib/perfSONAR/MP/OWAMP.pm 2012-12-07
11:07:46 UTC (rev 781)
@@ -267,7 +267,8 @@

/(\d+)\s+sent,\s+(\d+)\s+lost\s+\((\S+)\),\s+(\d+)\s+duplicates/){
$data_hash{"sent"} = $1;
$data_hash{"loss"} = $2;
- $data_hash{"lost_percent"} = $3;
+ my $lostPercentage = substr($3, 0, 1); #delete the percent
symbol
+ $data_hash{"lost_percent"} = $lostPercentage / 100; #Percent
as float
$data_hash{"duplicates"} = $4;
#push @datalines, \%data_hash;
}elsif ($resultline =~
@@ -378,7 +379,6 @@

# We need the UTC Time
my $isoTS = $dt->day_abbr ." ". $dt->month_abbr . " ". $dt->day ." ".
$dt->hms ."." . $msec ." UTC " . $dt->year;
- $self->{LOGGER}->info($isoTS);
return $isoTS;

}



  • [pS-dev] [GEANT/SA2/SA2T3-OPPD] r781 - in branches/perfsonar-oppd-all-0.53: etc etc/oppd.d.example lib/perfSONAR/MP, svn-noreply, 12/07/2012

Archive powered by MHonArc 2.6.16.

Top of Page