diff options
author | af7140@student.uni-lj.si <af7140@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414> | 2014-12-15 11:34:18 +0000 |
---|---|---|
committer | af7140@student.uni-lj.si <af7140@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414> | 2014-12-15 11:34:18 +0000 |
commit | 214844d41eaea65366bf9f03d06522a0a425edc9 (patch) | |
tree | 8a7d09e171844544048ad64d34d6e37ef0a12c1b /kpov_judge/tasks/snmp_agent_uptime | |
parent | 19c2f269b41e664d8e6417eed85762d6066db9fc (diff) |
David in Aleksander sta bila na sestanku in sta ugotovila da brez drugih težko kaj naredita saj sta na koncu seznama.
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@75 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks/snmp_agent_uptime')
-rw-r--r-- | kpov_judge/tasks/snmp_agent_uptime/task.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kpov_judge/tasks/snmp_agent_uptime/task.py b/kpov_judge/tasks/snmp_agent_uptime/task.py index fc720a2..6105c4b 100644 --- a/kpov_judge/tasks/snmp_agent_uptime/task.py +++ b/kpov_judge/tasks/snmp_agent_uptime/task.py @@ -9,7 +9,7 @@ instructions = { Naloga: Postavi tri navidezne racunalnike: - SimpleArbiter s sliko diska simpleArbiterDhcp, - SNMPServer in --SNMPClient. +- SNMPClient. Napiši program upminutes, ki bo izpisal v minutah koliko casa je racunalnik vklopljen. @@ -123,6 +123,7 @@ def gen_params(user_id, params_meta): return r def task_check(results, params): +#cakam na predhodnike in pomagam tistim ki kaj ne vejo import re score = -9 if results['NM_nslookup'].find('Server:\t\t{0}\r'.format(params['DNS_NM'])) > -1: |