summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/snmp_agent_uptime
diff options
context:
space:
mode:
authordn3250@student.uni-lj.si <dn3250@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-12 12:52:53 +0000
committerdn3250@student.uni-lj.si <dn3250@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-12 12:52:53 +0000
commit6240edcc52d6770fc4392dcd3e305fa83abb13bf (patch)
treef61d803bcab49fa99c6d9f9ad6478ed6bd392dab /kpov_judge/tasks/snmp_agent_uptime
parent9758de43e409f1436b33854e7383c6de60ae9513 (diff)
Beginning of HOWTOs.
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@42 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks/snmp_agent_uptime')
-rw-r--r--kpov_judge/tasks/snmp_agent_uptime/howtos/en/index.html63
-rw-r--r--kpov_judge/tasks/snmp_agent_uptime/howtos/images/01.pngbin0 -> 67779 bytes
2 files changed, 63 insertions, 0 deletions
diff --git a/kpov_judge/tasks/snmp_agent_uptime/howtos/en/index.html b/kpov_judge/tasks/snmp_agent_uptime/howtos/en/index.html
new file mode 100644
index 0000000..14562f8
--- /dev/null
+++ b/kpov_judge/tasks/snmp_agent_uptime/howtos/en/index.html
@@ -0,0 +1,63 @@
+<html>
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>snmp_agent_uptime</title>
+ </head>
+ <body>
+ <h1>snmp_agent_uptime</h1>
+ <h2>Purpose of the assignment</h2>
+ <p>
+ ???
+ </p>
+ <h2>Quick instructions</h2>
+ <p>
+ 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.
+ </p>
+ <p>
+ Make sure that the SNMP server reports it's uptime in seconds
+ over SNMP under NET-SNMP-EXTEND-MIB::nsExtendOutput2Table.
+ </p>
+ <p>
+ 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.
+ </p>
+ <h2>Instructions</h2>
+ <ol>
+ <li>Download the following virtual images (*.vid) from the
+ <a href="http://polz.si/media/uploads/kpov/virtualke/">directory</a>
+ with images of virtual computers:
+ <ol type="disc">
+ <li>
+ simpleArbiterDhcp.vdi (1.5 GB)
+ </li>
+ <li>
+ base-student-console-2014.vdi (1.5 GB) – twice, one for SNMPServer
+ and second for SNMPClient
+ </li>
+ </ol>
+ </li>
+ <li>
+ 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 <strong>change UUID</strong>
+ of one image.
+ <ol type="disc">
+ <li>
+ Use this command
+ <i>vboxmanage internalcommands sethduuid name-of-disk.vdi</i>
+ to change UUID (<a href="http://www.giannistsakiris.com/2009/05/06/virtualbox-how-to-change-the-uuid-of-virtual-disk-vdi/">hint</a>).
+ </li>
+ </ol>
+ </li>
+ <li>
+ Final view of sets VM VirtualBox machines.<br>
+ <img src="..\images\01.png" width="800">
+ </li>
+ </ol>
+ </body>
+</html>
diff --git a/kpov_judge/tasks/snmp_agent_uptime/howtos/images/01.png b/kpov_judge/tasks/snmp_agent_uptime/howtos/images/01.png
new file mode 100644
index 0000000..1bd01aa
--- /dev/null
+++ b/kpov_judge/tasks/snmp_agent_uptime/howtos/images/01.png
Binary files differ