file: /afs/slac/g/www/cgi-lib/cgi-lib.pl, does not exist.
file: /usr/local/cgi-bin/cgi-lib.pl, does not exist.
file: /usr/lib/cgi-bin/cgi-lib.pl found on dxmon3.cern.ch
-rwxr-xr-x 1 www-data www-data 15101 Aug 18  2016 /usr/lib/cgi-bin/cgi-lib.pl
Mode: 493/0755 are required permissions
Bytes: 15101
Modified Time: Thu Aug 18 08:48:17 2016
df -h /usr/lib/cgi-bin/cgi-lib.pl
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /usr/lib/cgi-bin/cgi-lib.pl
-rwxr-xr-x 1 www-data www-data 15101 Aug 18  2016 /usr/lib/cgi-bin/cgi-lib.pl
file: /usr/local/share/pinger/data found on dxmon3.cern.ch
total 120416
-rw-r--r-- 1 root root 41861616 Apr 16 16:07 ping-2024-04.txt
-rw-r--r-- 1 root root 81394056 Apr  1 01:50 ping-2024-03.txt
Mode: 493/0755 are required permissions
Bytes: 4096
Modified Time: Mon Apr 1 02:30:01 2024
df -h /usr/local/share/pinger/data
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /usr/local/share/pinger/data
total 120416
-rw-r--r-- 1 root root 81394056 Apr  1 01:50 ping-2024-03.txt
-rw-r--r-- 1 root root 41861616 Apr 16 16:07 ping-2024-04.txt
file: /usr/local/share/pinger/beacons.txt found on dxmon3.cern.ch
-rw-r--r-- 1 root root 16844 Aug 18  2016 /usr/local/share/pinger/beacons.txt
Mode: 420/0644 are required permissions
Bytes: 16844
Modified Time: Thu Aug 18 08:52:47 2016
df -h /usr/local/share/pinger/beacons.txt
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /usr/local/share/pinger/beacons.txt
-rw-r--r-- 1 root root 16844 Aug 18  2016 /usr/local/share/pinger/beacons.txt
file: /usr/local/share/pinger/pinger.xml found on dxmon3.cern.ch
-rw-r--r-- 1 root root 24383 Apr 16 16:07 /usr/local/share/pinger/pinger.xml
Mode: 420/0644 are required permissions
Bytes: 24383
Modified Time: Tue Apr 16 16:07:38 2024
df -h /usr/local/share/pinger/pinger.xml
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /usr/local/share/pinger/pinger.xml
-rw-r--r-- 1 root root 24383 Apr 16 16:07 /usr/local/share/pinger/pinger.xml
file: /etc/httpd/conf/httpd.conf, does not exist.
file: /afs/slac/package/apache/servers/wanmon/conf/httpd.conf, does not exist.
file: /usr/local/apache2/conf/httpd.conf, does not exist.
file: /etc/apache2/apache2.conf found on dxmon3.cern.ch
-rw-r--r-- 1 root root 7218 Aug 17  2016 /etc/apache2/apache2.conf
Bytes: 7218
Modified Time: Wed Aug 17 16:13:15 2016
df -h /etc/apache2/apache2.conf
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /etc/apache2/apache2.conf
-rw-r--r-- 1 root root 7218 Aug 17  2016 /etc/apache2/apache2.conf
file: /usr/local/share/pinger/beacons.txt found on dxmon3.cern.ch
-rw-r--r-- 1 root root 16844 Aug 18  2016 /usr/local/share/pinger/beacons.txt
Mode: 420/0644 are required permissions
Bytes: 16844
Modified Time: Thu Aug 18 08:52:47 2016
df -h /usr/local/share/pinger/beacons.txt
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /usr/local/share/pinger/beacons.txt
-rw-r--r-- 1 root root 16844 Aug 18  2016 /usr/local/share/pinger/beacons.txt
file: /usr/local/share/pinger/pingerCronStat.stdout found on dxmon3.cern.ch
-rw-r--r-- 1 root root 388860 Apr 16 16:07 /usr/local/share/pinger/pingerCronStat.stdout
Mode: 420/0644 are required permissions
Bytes: 388860
Modified Time: Tue Apr 16 16:07:38 2024
df -h /usr/local/share/pinger/pingerCronStat.stdout
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /usr/local/share/pinger/pingerCronStat.stdout
-rw-r--r-- 1 root root 388860 Apr 16 16:07 /usr/local/share/pinger/pingerCronStat.stdout
file: /usr/local/share/pinger/pingerCronStat.stderr, has a size of 0.
file: /usr/local/share/pinger/pingerCronStat.stderr found on dxmon3.cern.ch
-rw-r--r-- 1 root root 0 Apr 16 16:00 /usr/local/share/pinger/pingerCronStat.stderr
Mode: 420/0644 are required permissions
Bytes: 0
Modified Time: Tue Apr 16 16:00:01 2024
df -h /usr/local/share/pinger/pingerCronStat.stderr
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /usr/local/share/pinger/pingerCronStat.stderr
-rw-r--r-- 1 root root 0 Apr 16 16:00 /usr/local/share/pinger/pingerCronStat.stderr
file: /usr/local/bin/lynx, does not exist.
file: /usr/bin/lynx found on dxmon3.cern.ch
-rwxr-xr-x 1 root root 1978376 Oct 28  2021 /usr/bin/lynx
Mode: 493/0755 are required permissions
Bytes: 1978376
Modified Time: Thu Oct 28 04:31:20 2021
df -h /usr/bin/lynx
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /usr/bin/lynx
-rwxr-xr-x 1 root root 1978376 Oct 28  2021 /usr/bin/lynx
file: /usr/local/share/pinger/pinger2.pl found on dxmon3.cern.ch
-rw-r--r-- 1 root root 67271 Mar  3  2021 /usr/local/share/pinger/pinger2.pl
Bytes: 67271
Modified Time: Wed Mar 3 23:25:54 2021
df -h /usr/local/share/pinger/pinger2.pl
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /usr/local/share/pinger/pinger2.pl
-rw-r--r-- 1 root root 67271 Mar  3  2021 /usr/local/share/pinger/pinger2.pl
file: /bin/mail found on dxmon3.cern.ch
lrwxrwxrwx 1 root root 22 Aug 17  2016 /bin/mail -> /etc/alternatives/mail
Bytes: 113048
Modified Time: Wed Mar 23 10:44:56 2022
df -h /bin/mail
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /bin/mail
lrwxrwxrwx 1 root root 22 Aug 17  2016 /bin/mail -> /etc/alternatives/mail
file: /bin/ping found on dxmon3.cern.ch
-rwxr-xr-x 1 root root 76672 Feb  5  2022 /bin/ping
Bytes: 76672
Modified Time: Sat Feb 5 05:37:10 2022
df -h /bin/ping
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /bin/ping
-rwxr-xr-x 1 root root 76672 Feb  5  2022 /bin/ping
file: /usr/sbin/ping, does not exist.
file: /tmp/pinger2_newBeaconList.txt, has a size of 0.
file: /tmp/pinger2_newBeaconList.txt found on dxmon3.cern.ch
-rw-rw-rw- 1 www-data www-data 0 Apr 16 05:36 /tmp/pinger2_newBeaconList.txt
Bytes: 0
Modified Time: Tue Apr 16 05:36:18 2024
df -h /tmp/pinger2_newBeaconList.txt
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /tmp
ls -l /tmp/pinger2_newBeaconList.txt
-rw-rw-rw- 1 www-data www-data 0 Apr 16 05:36 /tmp/pinger2_newBeaconList.txt
file: /usr/bin/dig found on dxmon3.cern.ch
-rwxr-xr-x 1 root root 150352 Feb 12 20:29 /usr/bin/dig
Bytes: 150352
Modified Time: Mon Feb 12 20:29:56 2024
df -h /usr/bin/dig
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /usr/bin/dig
-rwxr-xr-x 1 root root 150352 Feb 12 20:29 /usr/bin/dig
file: /usr/local/bin/dig, does not exist.
file: /bin/ping6 found on dxmon3.cern.ch
lrwxrwxrwx 1 root root 4 Feb  5  2022 /bin/ping6 -> ping
Bytes: 76672
Modified Time: Sat Feb 5 05:37:10 2022
df -h /bin/ping6
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       119G   39G   75G  34% /
ls -l /bin/ping6
lrwxrwxrwx 1 root root 4 Feb  5  2022 /bin/ping6 -> ping
date : Command not found
Output from: /bin/uname -a
Linux dxmon3 5.15.0-76-generic #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Output from: /usr/bin/uptime
 16:20:20 up 272 days,  5:28,  0 users,  load average: 0.00, 0.00, 0.00
Output from: /bin/grep "version" /usr/local/share/pinger/pinger2.pl
PingER2 - New version of PingER with more configurability and maintainablity
Contains the version number of the PingER2 program. This will be used to convert the file-format to a new version when PingER2 evolves.
If PingER2 fails to reach the host or while determining the IP, Alarm offers a way to configure PingER2 to notify the maintainer of the local PingER version. This feature should be seen as warning tool or as a convenience feature for the beacon list maintainer.
#my $version="2.0.4, 2/5/2012 by Les Cottrell";#Verify lynx returns something
#my $version="2.0.5, 2/19/2012 by Fahad Satti & Les Cottrell.";#Update Beacon List, if it was requested via ping_data.pl
#my $version="2.0.6, 11/12/2012 by Les Cottrell";#Allow for icmp-req
#my $version="2.0.7, 3/8/2014 by Les Cottrell & Raja Asad";#Diagnose 0 length pinger.xml & full directory
#my $version="2.0.7, 3/18/2014 by Les Cottrell";#Improve check for SrcIP
#my $version="2.0.8, 12/22/2015 by Les cottrell";#Add pwd to xml file error msg, check on SrcName in pinger.xml
#my $version="2.1, 7/13/2016 by Les cottrell";#Finish gracefully (don't just die) even if can't write the pinger.xml file
#my $version="2.2, 8/21/2017 by Les cottrell";#Add extra information to log for _getIP.
#my $version="2.21, 12/3/2017 by Les cottrell";#Add extra information to log for _getIP.
#my $version="2.22, 12/4/2017 by Les cottrell";#Added sub valid_ip and used it to support IPv6.
#my $version="2.3.0, 2/9/2018 by Les Cottrell";#Production IPv6 version
#my $version="2.3.1, 4/30/2018 by Les Cottrell";#Corrected check for an IPv6 address in 
#my $version="2.3.2, 5/5/2018 by Les Cottrell";#Get IPv6 address via dig if not available via pinger.xml
#my $version="2.3.3, 5/14/2018 by Les Cottrell";#Make sure remote reload of pinger.xml works for pinger.slac.stanford.edu
#my $version="2.3.42, 6/27/2018 by Les Cottrell";#removed dependency on SLAC /afs/slac.stanford.edu/u/sf/pinger/pinger_xml for non SLAC MAs, improved logging, backed out mod to doXMLOut, extended logging information.
#my $version="2.3.43, 10/30/2018 by Les Cottrell";#Fix uninitialized in 'Set last checked...', re-ordered output 'Removing Temp File...' and 'rm: cannot remove', in doPing() print successful pings too 
#my $version="2.3.431, 2/20/2019 by Les Cottrell";#Fix undefined $nameMA if MA's Net::Domain qw(hostname hostfqdn hostdomain) fails.
#my $version="2.3.432, 2/21/2019 by Les Cottrell";#Detect invalid IP addresses in pingHost, provide better diagnostcs and return.
#my $version="2.4, 6/5/2019 by Les Cottrell";#Fixed updating pinger.xml
#my $version="2.5, 7/28/2019 by Les Cottrell";#Fixed and verified updating pinger.xml, replaced lynx with wgetl
#my $version="2.7, 9/12/2019 by Les Cottrell";#Improved reporting failures for doXMLOut
#my $version="2.71, 1/24/2020 by Les Cottrell";#Changed http://www-iepm to https://www-iepm
my $version="2.8, 2/28/2021 by Les Cottrell";#Added extra diagnostics
&logger(scalar(localtime())."(".__LINE__.")$0, version=$version:\n"
my $XMLOut=" No need to update pinger.xml, more recent version available ";
#if(($mtxml-$txml > 5 || $findStringinFile ne '-1')) {#Modified version of $xmlfile available, do not overwrite it.
if(($mtxml-$txml > 5)) {#Modified version of $xmlfile available, do not overwrite it.
Output from: /bin/grep "version" /afs/slac/package/pinger/pinger2/share/pinger/pinger2.pl

Output from: /bin/ps -efl | grep pinger2
0 S www-data 4036286 4036234  0  80   0 -   723 do_wai 16:20 ?        00:00:00 sh -c /bin/ps -efl | grep pinger2
0 S www-data 4036288 4036286  0  80   0 -   868 pipe_r 16:20 ?        00:00:00 grep pinger2
Output from: /bin/cat /etc/hosts
127.0.0.1	localhost
192.91.244.6	dxmon3.cern.ch	dxmon3

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Output from: /bin/cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 192.65.187.5 
nameserver 192.91.245.85
nameserver 2001:1458:1:2::100:58
nameserver 127.0.0.53
search cern.ch
Output from: /usr/bin/whoami
www-data
/usr/ucb/whoami : Command not found
Output from: /bin/pwd
/usr/lib/cgi-bin
/usr/sbin/sestatus : Command not found
Output from: /bin/ps -efl | grep httpd
0 S www-data 4036293 4036234  0  80   0 -   723 do_wai 16:20 ?        00:00:00 sh -c /bin/ps -efl | grep httpd
0 S www-data 4036295 4036293  0  80   0 -   868 pipe_r 16:20 ?        00:00:00 grep httpd
Output from: /usr/bin/crontab -l

Output from: /bin/crontab -l

Output from: /bin/hostname
dxmon3
Output from: /bin/domainname
(none)