\documentclass{ictlab} \RCS $Revision: 1.4 $ \usepackage{verbatim,key,alltt} \usepackage[hang,bf,nooneline]{caption2} \ifx\pdftexversion\undefined \else \usepackage[pdfpagemode=None,pdfauthor={Nick Urbanik}]{hyperref} \fi \geometry{a4paper, left=25mm, right=25mm, top=12mm, bottom=10mm, headheight=36pt, headsep=12pt, includeheadfoot} \renewcommand*{\subjectNumber}{CMT3335}% \renewcommand*{\subject}{Higher Diploma in Computer Systems Administration (41300)\\[1ex]Systems and Network Management \ \subjectNumber} \newcommand*{\labTitle}{Practical Assignment: Using Cricket to Monitor Broadcast and Multicast Network Traffic}% \providecommand*{\SNMP}{\acro{SNMP}\xspace} \providecommand*{\MIB}{\acro{MIB}\xspace} \providecommand*{\ID}{\acro{ID}\xspace} \providecommand*{\OID}{\acro{OID}\xspace} \providecommand*{\FAQ}{\acro{FAQ}\xspace} \providecommand*{\RPM}{\acro{RPM}\xspace} \providecommand*{\MRTG}{\acro{MRTG}\xspace} \providecommand*{\CPAN}{\acro{CPAN}\xspace} \providecommand*{\RRD}{\acro{RRD}\xspace} \providecommand*{\COUNTER}{\texttt{COUNTER}\xspace} \providecommand*{\GAUGE}{\texttt{GAUGE}\xspace} \providecommand*{\DERIVE}{\texttt{DERIVE}\xspace} \providecommand*{\ABSOLUTE}{\texttt{ABSOLUTE}\xspace} %\providecommand*{\}{\acro{}\xspace} \renewcommand*{\floatpagefraction}{0.75} % default is .5, to increase % density. \renewcommand*{\bottomfraction}{0.6} % default is 0.3 \renewcommand*{\topfraction}{0.85} % default is 0.7 \renewcommand*{\textfraction}{0.1} % default is 0.2 \begin{document} \textbf{Report Submission Deadline: 5\,\acro{PM}, Monday 5 August 2002, to Departmental Office \emph{and} a soft copy by email to \texttt{nicku@vtc.edu.hk}} \vspace{2ex} Your task is to create a web-based system that monitors broadcast and multicast network traffic using Cricket and \SNMP. You are required to provide monitoring of the following: \begin{itemize} \item monitor incoming and outgoing network traffic on \emph{all network interfaces} of your computer; \item monitor incoming and outgoing traffic which is \emph{not unicast} on \emph{all network interfaces} of your computer. \end{itemize} All network traffic is to be monitored in units of \emph{bits per second}. Kilobits or megabits per second are okay. One kilobit per second is $2^{10}$ bits per second; one megabit per second is $2^{20}$ bits per second. You are required to submit a report showing screenshots of your work, including a hard copy of the Cricket setup that you wrote to achieve this, and a written description of how it works. At least one of your screenshots should show a short-term graph with at least six hours of data collected by your system. To do this, you will need to have the agent running on your machine, configured with access to the \MIB-2 tree. You should have done this already; the process is described in the handout entitled \emph{SNMP Agent and the Set Operation}\@. For each of the two variables you monitor, you should provide: \begin{itemize} \item at least one set of graphs, monitoring the data over a daily, weekly, monthly and annual basis; \item meaningful labels to the graphs; for example, the graph for Internet network traffic should be labelled something like: ``Internet network traffic'' rather than as ``\texttt{3}'' or ``\texttt{ppp0}''. The axes of the graphs should also be labelled properly. \item meaningful names on the links to the graphs. \end{itemize} For each network interface, there should be one set of graphs for the broadcast and multicast data, and another set for the total network traffic. Note that the Net-\SNMP agent does not implement the deprecated \texttt{ifInNUcastPkts} or \texttt{ifOutNUcastPkts} managed objects in the \texttt{mib-2} \texttt{ifTable}. To implement the requirement for monitoring non-unicast network traffic, you will need Cricket to perform some arithmetic with the data from the available managed objects in the \texttt{mib-2} \texttt{ifTable}. You should also demonstrate in your report that the data in your graphs is meaningful by comparing it with the output from programs such as \texttt{ifconfig}. Perform the necessary calculations to indicate that the network traffic shown in your graph is consistent with the output of \texttt{ifconfig}. Please note that I have revised the first Cricket document quite a lot, with some useful description of the way that Cricket works, and its configuration. It is available at \url{http://nicku.org/snm/lab/cricket/cricket.pdf}. Marks will be allocated according to this scheme: \vspace{\baselineskip} \renewcommand{\extrarowheight}{2pt} \noindent% \begin{tabularx}{\linewidth}{@{}Xc@{}} \toprule% \textbf{\emph{Work}} & \textbf{\emph{Mark Allocated}}\\ \midrule% Meaningful titles and labelling & 10\%\\ Implementation of total network traffic at each interface & 10\% \\ Implementation of total non-unicast network traffic at each interface & 25\% \\ Comparison between data displayed in the graph and data obtained elsewhere from the computer, with calculations showing that the data is consistent & 20\% \\ Written description showing how your system works, and how you designed it & 35\% \\ \bottomrule \end{tabularx} \vspace{\baselineskip} You should be able to explain what you did and why. Your work must be original. You may use any operating system. Screenshots in Linux may be made using \texttt{import}, part of the ImageMagick software package. \end{document}