diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2019-03-02 13:16:59 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2019-03-02 13:16:59 +0100 |
commit | fd5740b73510fa3b002c8235f84220aeafff88c5 (patch) | |
tree | 4bec710006f9be356830ddc2564ecf0ecddf2291 /tasks/snmp_agent_uptime/howtos | |
parent | b632b5fa796044174115b79fe5e91db690624a7c (diff) |
tasks.snmp_agent_uptime: fix scripts in howto
Diffstat (limited to 'tasks/snmp_agent_uptime/howtos')
-rw-r--r-- | tasks/snmp_agent_uptime/howtos/en/index.html | 5 | ||||
-rw-r--r-- | tasks/snmp_agent_uptime/howtos/si/index.html | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/tasks/snmp_agent_uptime/howtos/en/index.html b/tasks/snmp_agent_uptime/howtos/en/index.html index bef6792..2013eb2 100644 --- a/tasks/snmp_agent_uptime/howtos/en/index.html +++ b/tasks/snmp_agent_uptime/howtos/en/index.html @@ -128,7 +128,7 @@ <i>#!/bin/bash<br>
uptime=$(</proc/uptime)<br>
seconds=${uptime%%.*}<br>
- echo "Uptime in seconds:" $seconds<br>
+ echo $seconds<br>
exit 0</i>
</li>
<li>
@@ -171,9 +171,6 @@ command <i>snmpwalk -c students -v1 IPaddressOfServer
1.3.6.1.4.1.8072.1.3.2.4.1.2</i>
</li>
- <li>
- you should get string: "Uptime in seconds: xyz"
- </li>
</ol>
</li>
</ol>
diff --git a/tasks/snmp_agent_uptime/howtos/si/index.html b/tasks/snmp_agent_uptime/howtos/si/index.html index f490f6c..2a14412 100644 --- a/tasks/snmp_agent_uptime/howtos/si/index.html +++ b/tasks/snmp_agent_uptime/howtos/si/index.html @@ -126,7 +126,7 @@ <i>#!/bin/bash<br>
uptime=$(</proc/uptime)<br>
seconds=${uptime%%.*}<br>
- echo "Uptime in seconds:" $seconds<br>
+ echo $seconds<br>
exit 0</i><br>
skripto nato shrani kjerkoli hoces
</li>
@@ -170,9 +170,6 @@ ukaz <i>snmpwalk -c students -v1 IPnaslovStreznika
1.3.6.1.4.1.8072.1.3.2.4.1.2</i>
</li>
- <li>
- moral bi vrniti taksen string: "Uptime in seconds: xyz"
- </li>
</ol>
</li>
</ol>
|