From 6240edcc52d6770fc4392dcd3e305fa83abb13bf Mon Sep 17 00:00:00 2001 From: "dn3250@student.uni-lj.si" Date: Fri, 12 Dec 2014 12:52:53 +0000 Subject: Beginning of HOWTOs. git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@42 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- .../tasks/snmp_agent_uptime/howtos/en/index.html | 63 +++++++++++++++++++++ .../tasks/snmp_agent_uptime/howtos/images/01.png | Bin 0 -> 67779 bytes 2 files changed, 63 insertions(+) create mode 100644 kpov_judge/tasks/snmp_agent_uptime/howtos/en/index.html create mode 100644 kpov_judge/tasks/snmp_agent_uptime/howtos/images/01.png 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 @@ + + + + snmp_agent_uptime + + +

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

+
    +
  1. Download the following virtual images (*.vid) from the + directory + with images of virtual computers: +
      +
    1. + simpleArbiterDhcp.vdi (1.5 GB) +
    2. +
    3. + base-student-console-2014.vdi (1.5 GB) – twice, one for SNMPServer + and second for SNMPClient +
    4. +
    +
  2. +
  3. + 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. +
      +
    1. + Use this command + vboxmanage internalcommands sethduuid name-of-disk.vdi + to change UUID (hint). +
    2. +
    +
  4. +
  5. + Final view of sets VM VirtualBox machines.
    + +
  6. +
+ + 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 Binary files /dev/null and b/kpov_judge/tasks/snmp_agent_uptime/howtos/images/01.png differ -- cgit v1.2.1