From 858a51fd42864351d399cd7b011c85b5a1fa4e07 Mon Sep 17 00:00:00 2001 From: "ao6744@student.uni-lj.si" Date: Sat, 29 Aug 2015 10:10:33 +0000 Subject: popravljena navodila git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@304 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/tasks/snmp_agent_uptime/howtos/si/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kpov_judge/tasks/snmp_agent_uptime/howtos/si/index.html') diff --git a/kpov_judge/tasks/snmp_agent_uptime/howtos/si/index.html b/kpov_judge/tasks/snmp_agent_uptime/howtos/si/index.html index ed59309..f490f6c 100644 --- a/kpov_judge/tasks/snmp_agent_uptime/howtos/si/index.html +++ b/kpov_judge/tasks/snmp_agent_uptime/howtos/si/index.html @@ -270,7 +270,7 @@ uptime=$(</proc/uptime)
uptime=${uptime%%.*}
minutes=$(( uptime / 60 ))
- echo "Uptime in minutes:" $minutes
+ echo $minutes
exit 0
  • @@ -284,7 +284,7 @@
  • Kot uporabnik test naredi se eno skripto beri.shm ki bere - vrednosti od OID 1.3.6.1.4.1.8072.1.3.2.4.1.4. + vrednosti od OID 1.3.6.1.4.1.8072.1.3.2.4.1.2. na SNMPServer. Shrani jo na SNMPClient v domac direktorij uporabnika test.
    1. @@ -293,7 +293,7 @@
    2. dodaj kodo:
      #!/bin/bash
      - snmpwalk -c students -v1 IPnaslovStreznika 1.3.6.1.4.1.8072.1.3.2.4.1.4
      + snmpwalk -c students -v1 IPnaslovStreznika 1.3.6.1.4.1.8072.1.3.2.4.1.2
      exit 0
    3. -- cgit v1.2.1