summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/snmp_agent_uptime
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks/snmp_agent_uptime')
-rw-r--r--kpov_judge/tasks/snmp_agent_uptime/task.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/kpov_judge/tasks/snmp_agent_uptime/task.py b/kpov_judge/tasks/snmp_agent_uptime/task.py
index 53a1ac3..70cfa1b 100644
--- a/kpov_judge/tasks/snmp_agent_uptime/task.py
+++ b/kpov_judge/tasks/snmp_agent_uptime/task.py
@@ -3,7 +3,6 @@
# kpov_random_helpers should be imported by add_assignment.py
# TODO: finish this.
-
instructions = {
'si':u"""
Naloga: Postavi tri navidezne racunalnike:
@@ -16,17 +15,15 @@ vklopljen.
Postavi ga na SNMPClient v domaci imenik uporabnika test z geslom test.
Poskrbi, da bo SNMP strežnik prek SNMP pod
-SNMP_UPTIME_OID sporočal, koliko casa je vklopljen
+OID {SNMP_UPTIME_OID} sporočal, koliko casa je vklopljen
v sekundah.
Napiši skripto, poimenovano beri.sh, ki prek SNMP prebere vrednost s strežnika
- SNMPServer na OID SNMP_CLIENT_OID
+ SNMPServer na OID {SNMP_CLIENT_OID}
Postavi jo na SNMP klienta, v domaci imenik uporabnika test z geslom test.
Poskrbi, da bodo podatki na SNMPServer dostopni za skupino (community) studentje.
-
-Parametra SNMP_UPTIME_OID in SNMP_CLIENT_OID lahko dobiš na SimpleArbiter.
""",
'en':u"""
Set up three virtual computers, SimpleArbiter with the disk image simpleArbiterDhcp,
@@ -35,9 +32,9 @@ the uptime of the computer in minutes. Set it up on SNMPClient in the home direc
of the user test with the password test.
Make sure that the SNMP server reports it's uptime in seconds over SNMP under
-SNMP_UPTIME_OID .
+OID {SNMP_UPTIME_OID}.
-Write a script called beri.sh that reads the value from the OID SNMP_CLIENT_OID
+Write a script called beri.sh that reads the value from the OID {SNMP_CLIENT_OID}
on SNMPServer. Set it up on SNMPClient in the home directory of the user test.
Make all the data available over SNMP readable by the "studentje" community.