From 4df70266cf670f5f12f3219b18e59b7aaafaf1b0 Mon Sep 17 00:00:00 2001 From: "gasperfele@fri1.uni-lj.si" Date: Tue, 17 Mar 2015 16:02:15 +0000 Subject: Fixed instructions git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@288 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/tasks/snmp_agent_uptime/task.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'kpov_judge/tasks/snmp_agent_uptime') 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. -- cgit v1.2.1