|
Retrieving PingER Historical Data
|
PLEASE NOTE: All times associated with the rawdata downloaded from PingER are measured with respect to GMT.
e.g. http://www-iepm.slac.stanford.edu/cgi-wrap/pingtable.pl?format=tsv&dataset=hep&file=packet_loss&by=by-site&size=100&tick=hourly&year=2004&month=02&day=22&from=SLAC&to=WORLD&ex=noneThe example above will get you the hourly data from SLAC to all the sites in the world for Feb 22, 2004. Stepping through all the days for the last X days will get you all the data per the request. It will come back in tab separated format which can be imported into Excel or your favorite spreadsheet application.
Once the tarball is detarred and the files unzipped, you will find
that the individual files are space separated and contain a line header with
the hour numbers. Each following line contains the structure:
source_host_name destination_host_name metric_for_1sthour ... metric_for_nthhour source_host_name destination_host_name (see fig. 2).
average_rtt/ out_of_order_packets/ conditional_loss_probability/ packet_loss/ duplicate_packets/ throughput/ ipdv/ unpredictability/ iqr/ unreachability/ minimum_packet_loss/ zero_packet_loss_frequency/ minimum_rtt/
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 pinger.slac.stanford.edu www.jinr.dubna.su 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 pinger.slac.stanford.edu www.jinr.dubna.su www.jinr.dubna.su(i.e. the losses were always 0.000, no packets lost out of 10.)
http://www.slac.stanford.edu/cgi-wrap/ping_data.pl?in_form=1&begin_hour=00&begin_min=00&begin_sec=00&begin_day=dd&begin_month=mm&begin_year=yyyy&begin_offset=&begin_point=y&end_hour=23&end_min=59&end_sec=59&end_day=dd&end_month=mm&end_year=yyyy&end_offset=&end_point=yand write a script to get all the data needed. NOTE:You will have to replace dd,mm, and yyyy respectfully to reflect the begin/end dates you are requesting data for.
The contents of each line returned for the request are as follows:
source_host_name source_host_addr destination_host_name destination_host_addr size unix_epoch_time sent rcvd min avg max seq_rcv(i=1,rcvd) rtt_rcv(i=1,rcvd)Where:
pinger.slac.stanford.edu 134.79.240.30 multivac.sdsc.edu 132.249.20.57 100 1077235276 10 10 28.682 32.445 35.427 1 2 3 4 5 6 7 8 9 10 31.4 32.4 33.3 35.1 35.4 34.9 32.6 28.6 31.2 29.1The raw data is saved locally at slac in files of the form: /nfs/slac/g/net/pinger/pingerdata/hep/data/<node>/ping-<yyyy-mm-dd>.txt.gz for example /nfs/slac/g/net/pinger/pingerdata/hep/data/pinger.slac.stanford.edu//ping-2007-03-23.txt.gz
Revised 23 March 2007.
URL:
http://www-iepm.slac.stanford.edu/pinger/mon-req.html
Comments to
iepm-l@slac.stanford.edu