CNT5605 - 2013 Fall
Assignment 2
Journals Due Tuesday, October 1, at the beginning of class.

Assignment: Tracing, Debugging, and Monitoring

Your objectives are

  1. Change your network configuration from a dynamic one to a static one.
  2. Install appropriate system tracing and debugging tools.
  3. Install monitoring tools.

Please note that you need to leave your computers on; please do not turn off any of your machines once they are installed and running.

Part 1: Change network configuration

Change your network configuration to a static configuration rather than the existing dynamic version. You will be given a personal paper in class on Thursday, September 26, listing your new network information.

Part 2: System tracing and debugging tools

If you haven't done updated your system, it might be a good idea to do so before starting on this assignment.

For system-level tracing and debugging, at a minimum you will want to have strace and tcpdump. You will want to also consider packages such as wireshark. Use your favorite package tool (suggestions are synaptic, aptitude, or apt-get, but feel free to use any that you like — look here for a discussion of the various options) to install these packages.

Part 3: Monitoring tools

First install ssh. Make sure that you install the server (not just the client) and do a service --status-all to verify that it's running; also try using ssh to your own ip number to verify that it works.

Next, install apache2 — and, again, make sure that it's running. Try visiting "http://localhost".

Finally, install mon. Configure it (in /etc/mon/ using a hostgroup named "MYGROUP" to monitor all 5 of your ip numbers with (1) fping.monitor and (2) tcp.monitor looking at port 22 (the standard sshd location.) Verify that http://YOURIPNUM/cgi-bin/mon.cgi is displaying information about your ip numbers. (If you didn't deploy a graphical environment, the text-only browser w3m is an excellent way to view web pages.)

Only one of your ip numbers should be active — please email me if someone has arrogated one of your numbers.

You can also monitor any and all of the other lab's ip numbers, but please use largish intervals for this, say a test every 30 minutes or so — don't DOS your classmates!

We will visit each of your monitoring pages in class on Tuesday, so please make sure that everything is up and running for the demonstration.

A journal is due for this assignment. Make sure that you document in your journal all of the steps that you went through, following the guidelines on the class home page.

Please turn in a printed copy of this assignment at the beginning of class on October 1.