See OverviewStep 1Step 2Installation and troubleshooting FAQ, and http://www-iepm.slac.stanford.edu/pinger/tools/mon-req.html 

Pre-reqs

[root@ping02 ~]# whereis lynx
lynx: /usr/bin/lynx /etc/lynx.cfg /etc/lynx.lss /usr/share/man/man1/lynx.1.gz
mail:[root@ping02 ~]# whereis ping
ping: /usr/bin/ping /usr/share/man/man8/ping.8.gz
[root@ping02 ~]# whereis ping6
ping6: /usr/bin/ping6 /usr/sbin/ping6 /usr/share/man/man8/ping6.8.gz
[root@ping02 ~]# whereis dig
dig: /usr/bin/dig /usr/share/man/man1/dig.1.gz
[root@ping02 ~]# whereis perl
perl: /usr/bin/perl /usr/share/man/man1/perl.1.gz
[root@ping02 ~]# whereis make
make: /usr/bin/make /usr/share/man/man1/make.1.gz
[root@ping02 ~]# whereis crontab
crontab: /usr/bin/crontab /etc/crontab /usr/share/man/man5/crontab.5.gz /usr/share/man/man1/crontab.1.gz
[root@ping02 ~]# whereis traceroute6
traceroute6: /usr/bin/traceroute6 /usr/share/man/man8/traceroute6.8.gz
[root@ping02 ~]# whereis traceroute
traceroute: /usr/bin/traceroute /usr/share/man/man8/traceroute.8.gz

[root@ping02 ~]# whereis wget
wget: /usr/bin/wget /usr/share/man/man1/wget.1.gz
[root@ping02 ~]# whereis mail
mail: /usr/bin/mail /etc/mail.rc /usr/share/man/man1/mail.1.gz

Needed to add: mail (see http://www.itadminstrator.com/2015/05/install-mail-command-client-on-centos.html), traceroute (see http://idroot.net/linux/install-use-traceroute-centos-7/) traceroute6, ping, ping6, wget (see http://idroot.net/tutorials/how-to-install-wget-on-centos/ or use curl) and apache (see https://www.liquidweb.com/kb/how-to-install-apache-on-centos-7/

We also needed to install XML::Simple, see http://search.cpan.org/dist/XML-Simple/lib/XML/Simple/FAQ.pod#How_do_I_install_XML::Simple?

Also need to start Apache

  • telnet ping02 80 from pinger showed it was not open.
  • If you just want to start apache, after downloading it you can run:
    sudo systemctl enable httpd
    sudo systemctl start httpd 

    [root@ping02 pinger-2.0.7]# systemctl enable httpd #This command ensures apache starts after a reboot
    Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
    [root@ping02 pinger-2.0.7]# systemctl start httpd #Starts Apache immediately. You can replace start with restart
    [root@ping02 pinger-2.0.7]# ps -efl | grep httpd
    4 S root      33322      1  0  80   0 - 55488 poll_s 09:20 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
    5 S apache    33323  33322  0  80   0 - 58550 inet_c 09:20 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
    5 S apache    33324  33322  0  80   0 - 58550 inet_c 09:20 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
    5 S apache    33325  33322  0  80   0 - 58550 inet_c 09:20 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
    5 S apache    33326  33322  0  80   0 - 58550 inet_c 09:20 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
    5 S apache    33327  33322  0  80   0 - 58550 inet_c 09:20 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
    0 S root      33334  31095  0  80   0 - 28165 pipe_w 09:23 pts/0    00:00:00 grep --color=auto httpd

Specific PingER modules

[root@ping02 ~]# ls -l /usr/lib/cgi-bin/
total 124
-rwxr-xr-x. 1 root root 15101 Dec  5 13:51 cgi-lib.pl
-rwxr-xr-x. 1 root root 48852 Dec  5 13:14 ping_data.pl
-rwxr-xr-x. 1 root root  6626 Dec  5 13:53 pinger_trimmer.pl
-rwxr-xr-x. 1 root root 50070 Dec  5 13:13 traceroute.pl
[cottrell@ping02 ~]$ ls
pinger-2.0.7.tar.gz
[root@ping02 cottrell]# tar xzf pinger-2.0.7.tar.gz
[root@ping02 cottrell]# cd pinger-2.0.7
[root@ping02 pinger-2.0.7]# cd


  • No labels