ping_data_plot.pl
Need a web form to enable selection of Source and destination, time window (from to), whether you want a time series or a distribution, whether you want a table to be printed that could be cut and pasted into Excel. Allow selection of multiple targets, but limit the number since it may take too long to produce the results.. See for example http://www-iepm.slac.stanford.edu/cgi-wrap/ping_data_plot.pl
This ping_data_plot.pl file is available at http://www.slac.stanford.edu/comp/net/mon/tool/ping_data_plot.pl, help is embedded in the file or via http://www-iepm.slac.stanford.edu/pinger/scripttable.html
It needs:
- my $config="/afs/slac/g/www/cgi-wrap-bin/net/offsite_mon/ping_data/ping_data_plot.cf";
- Also available at http://www-iepm.slac.stanford.edu/cgi-wrap/ping_data_plot.cf, will need to create your own ping_data_plot.cf to point to the right files and modify the code to accomodate this.
- my $nodes_cf="/afs/slac/package/pinger/nodes.cf";
- Also available at http://www.slac.stanford.edu/comp/net/mon/tool/nodes.cf, will need to modify code to accomodate this.
- my $frequency="http://www-iepm.slac.stanford.edu/cgi-wrap/frequency.pl";
- getdata.pl provided by $config.It is available from http://www.slac.stanford.edu/comp/net/mon/tool/getdata.pl, it will need work to make it work at Amity. It needs:
- wget
- my $config="$base_dir/pinger.new.cf";
my $nodes="$base_dir/nodes.cf";
- Where my $base_dir="/afs/slac/package/pinger"; #see above for web copy
- timelocal.pl
- ctime.pl
frequency.pl
Choosing say brunsvigia.tenet.ca as the target, and a time series one might get:
It plots the min/avg/max RTT plus the loss. Can you add more axes to say add jitter? The vertical markers enable one to see the actual values. One can zoom in.
Choosing a distribution one might get:
The frequency.pl file is available at http://www.slac.stanford.edu/comp/net/mon/tool/frequency.pl
It needs:
- my $config="/afs/slac/g/www/cgi-wrap-bin/net/offsite_mon/ping_data/ping_data_plot.cf";
- Also available at http://www-iepm.slac.stanford.edu/cgi-wrap/ping_data_plot.cf, see above
$sites_fn, available at http://www.slac.stanford.edu/comp/net/mon/offsite.nodes and via $config
$stats_dir$stats_base_fn<year><mon>, points to the data, however this is the analyzed data not the raw data that you have.
All scripts are in perl.
Start from the scripts provided by SLAC but generalize them so they will work at other sites in particular Amity. E.g. have a configuration file that is tailored for the site. If you want to set up something in github that is fine.