Introduction

PingER2 at SLAC resides under /afs/slac/package/pinger/pinger2/share/pinger/. This directory contains all the scripts, needed by PingER2 except for wget, ping, ping6,dig, and other similar standard Linux binaries. The directory contains:

pinger.xml

pinger2.pl

The main, perl script to do all the PingER2 tasks, including ping. There is  detailed information on the Pinger data Flow.

Logs

There are logs at:

[slaconly]pinger_startup.pl

       This script alleviates the need to pass multiple arguments to PingER2 every time it needs to be run. It verifies that the pinger2.pl script exists, that pinger.xml is > 100Bytes, and that pinger2.pl is not still running. It has some default values, that make the cronjob and the whole running a clean process. It also has various options to assist in debugging etc.

       Without this script a typical run would look like this:

cd /afs/slac.stanford.edu/package/pinger/pinger2/share/pinger ;
perl /afs/slac.stanford.edu/package/pinger/pinger2/share/pinger/pinger2.pl >
 /afs/slac.stanford.edu/package/pinger/pinger2/share/pinger/pingerCronStat.stdout;

       However using pinger_startup.pl, this becomes:

 /afs/slac/package/pinger/pinger2/share/pinger/pinger_startup.pl

dnsV4Cmd.pl

      This Command utilizes the Perl utility gethostbyname() to determine, the ip address of a host, given a hostname.