Installing ping_data.pl and traceroute.pl for PingER2
You must have a UNIX system with Perl 5 and an HTTP server. It is assumed that prior to
installing ping-data.pl and traceroute.pl you have already installed the
PingER2 measurement code pinger.pl
(this is the preferred PingER measurement tool installation since July 2005).
Ping_data.pl is a script that allows the collecting site to get the
data from your site. ping_data.pl does not have to be installed on the
same machine as pinger.pl (the script that makes the ping probe
measurements), but the
data file generated by pinger.pl must
be visible on the machine running ping_data.pl, possibly via NFS or
AFS.
- Get ping_data.pl and put it in the CGI directory
for your HTTP server (often /usr/local/cgi-bin)
- You may already have cgi-lib.pl in your CGI
directory. If not, put it there now.
- In ping_data.pl edit the line:
require "/afs/slac/g/www/cgi-lib/cgi-lib.pl";
to read:
require "<cgi-path>/cgi-lib.pl";
where <cgi-path> is the fully qualified path to your cgi-bin directory.
-
Edit the line:
$stats_dir = "/nfs/slac/g/net/pinger/pinger_mon_data";
to read:
$stats_dir = "<dir>/data";
where <dir> is the directory where your PingER data is stored.
-
Edit the line:
$sites_fn = "/afs/slac/www/comp/net/mon/offsite.nodes";
to read:
$sites_fn = "<dir>/beacons.txt
The default for <dir> for PingER2 is /usr/local/share/pinger/beacons.txt.
- Make ping_data.pl and cgi-lib.pl executable with the command
- chmod a+x ping_data.pl cgi-lib.pl
- Test the script by visiting the URL http://yourwebserver/cgi-bin/ping_data.pl.
A form should be shown allowing you to retrieve the raw data.
Install a Traceroute Server
While not strictly required for network monitoring, we are requesting
that all collecting sites install a traceroute server.
- Put traceroute.pl
in your CGI directory.
- Make it executable with the command
- Test it by loading the URL http://yourwebserver/cgi-bin/traceroute.pl.
Register Your Use
Please send e-mail to pingER Mailing List
when you have completed the installation. An analysis site will be set
up to collect your data and provide graphical analysis.
Questions
Have a look at the FAQ at
PingER2 FAQ.
Please send any questions to pingER Mailing List.
Last updated: January 26, 2008.