snmp_agent_uptime
Purpose of the assignment
???
Quick instructions
Set up three virtual computers, SimpleArbiter with the disk image
simpleArbiterDhcp, SNMPServer and SNMPClient. Write a program
called upminutes. This program should output the uptime of the
computer in minutes. Set it up on SNMPClient in the home directory
of the user test with the password test.
Make sure that the SNMP server reports it's uptime in seconds
over SNMP under NET-SNMP-EXTEND-MIB::nsExtendOutput2Table.
Write a script called beri.sh that reads the value from the
OID 1.3.6.1.4.1.8072.1.3.2.4.1.4. on SNMPServer. Set it up on
SNMPClient in the home directory of the user test.
Instructions
- Download the following virtual images (*.vid) from the
directory
with images of virtual computers:
-
simpleArbiterDhcp.vdi (1.5 GB)
-
base-student-console-2014.vdi (1.5 GB) – twice, one for SNMPServer
and second for SNMPClient
-
VM VirtualBox WARNING! If you want to use one same virtual image
(base-student-console-2014.vdi) for two virtual computers
(SNMPServer and SNMPClient), you must change UUID
of one image.
-
Use this command
vboxmanage internalcommands sethduuid name-of-disk.vdi
to change UUID (hint).
-
Final view of sets VM VirtualBox machines.