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/en | |
parent | b632b5fa796044174115b79fe5e91db690624a7c (diff) |
tasks.snmp_agent_uptime: fix scripts in howto
Diffstat (limited to 'tasks/snmp_agent_uptime/howtos/en')
-rw-r--r-- | tasks/snmp_agent_uptime/howtos/en/index.html | 5 |
1 files changed, 1 insertions, 4 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>
|