Skip to content

Network Monitoring

We will be employing various network monitoring protocols in our labs to gain hands-on experience in monitoring and analyzing network performance, traffic flow, etc. Specifically, we will be working with SNMP and Netflow protocols. We have provided a set of commands that you can use for this lab. It is your responsibility to determine how and where to use the commands.

For the tasks you are going to use the net-snmp suite and flow-tools for NetFlow data collection. You can find documentation and tutorials for the tools on their website http://www.net-snmp.org and https://linux.die.net/man/1/flow-tools.

Manager file reset on project closing.

Important: In the current lab setup the linux storage is not persistent, meaning that files will be lost upon closing the project. Files can to be extracted from the manager using the docker cp command, or manual copy-paste (which is not recommended).

The solution is to use the docker cp command in the VM terminal to extract desired files out of the manager. To do so, first locate the manager process in the terminal using docker ps. Find the process with the image "ttm4128/mgr:latest/". Then use docker cp with either the id or name, with the appropriate path of the file(s) or folder.

Use the docker commands in an ssh-session on the VM.

img Illustration of the process

Docker Command Purpose Example
docker ps List out all docker processes. Look for the appropriate process, in this case the manager "ttm4128/mgr:latest". docker ps
docker cp : Copies files or folders from docker container to your VM directory. docker cp zealous_dubinsky:/important.txt ~/Desktop/lab2-files

You will of course need to figure out where your files are stored on the manager, and which files you want to extract. Expect that any file changes in the manager will be reset upon project closing. Organize in appropriate folders to make copying easier.