diff options
Diffstat (limited to 'kpov_judge')
-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: |