summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/snmp_agent_uptime/howtos/si/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks/snmp_agent_uptime/howtos/si/index.html')
-rw-r--r--kpov_judge/tasks/snmp_agent_uptime/howtos/si/index.html6
1 files changed, 3 insertions, 3 deletions
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=$(&lt;/proc/uptime)<br>
uptime=${uptime%%.*}<br>
minutes=$(( uptime / 60 ))<br>
- echo "Uptime in minutes:" $minutes<br>
+ echo $minutes<br>
exit 0</i>
</li>
<li>
@@ -284,7 +284,7 @@
</ol>
</li>
<li>Kot uporabnik <i>test</i> naredi se eno skripto <i>beri.sh</i>m 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.
<ol type="disc">
<li>
@@ -293,7 +293,7 @@
<li>
dodaj kodo:<br>
<i>#!/bin/bash<br>
- snmpwalk -c students -v1 IPnaslovStreznika 1.3.6.1.4.1.8072.1.3.2.4.1.4<br>
+ snmpwalk -c students -v1 IPnaslovStreznika 1.3.6.1.4.1.8072.1.3.2.4.1.2<br>
exit 0</i>
</li>
<li>