Skip to content

Commit

Permalink
Add explanation of the use of the connectivity check which also colle…
Browse files Browse the repository at this point in the history
…cts the ip address of each site that

starts up webwork software.
  • Loading branch information
mgage committed Jul 30, 2019
1 parent e3fcc86 commit 4d61cc8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions conf/webwork.apache2-config.dist
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,14 @@ require Apache::WeBWorK; # force compilation of pretty much everything
print "Check in with MAA site\n";
system("ping -c1 -s100 webwork.maa.org "); # check MAA site
print "End connectivity check\n";
# this snippet checks the connectivity with the internet.
# it also alerts MAA that a webwork site is starting up.
# The MAA site runs the following command
# tcpdump -l icmp |grep 100 >tcpdump.txt
# to collect pings with packet length 108 (8 more bytes then sent)
# icmp says listen for pings only. -l says to output tcpdump one line
# a time. One of the items in the line is "length 108"
# This stores the ip address of a webwork site each time it starts up.

# At this point, the following configuration variables should be present for use
# in wiring WeBWorK into Apache:
Expand Down
8 changes: 8 additions & 0 deletions conf/webwork.apache2.4-config.dist
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,14 @@ require Apache::WeBWorK; # force compilation of pretty much everything
print "Check in with MAA site\n";
system("ping -c1 -s100 webwork.maa.org "); # check MAA site
print "End connectivity check\n";
# this snippet checks the connectivity with the internet.
# it also alerts MAA that a webwork site is starting up.
# The MAA site runs the following command
# tcpdump -l icmp |grep 100 >tcpdump.txt
# to collect pings with packet length 108 (8 more bytes then sent)
# icmp says listen for pings only. -l says to output tcpdump one line
# a time. One of the items in the line is "length 108"
# This stores the ip address of a webwork site each time it starts up.

# At this point, the following configuration variables should be present for use
# in wiring WeBWorK into Apache:
Expand Down

0 comments on commit 4d61cc8

Please sign in to comment.