From fd5740b73510fa3b002c8235f84220aeafff88c5 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Sat, 2 Mar 2019 13:16:59 +0100 Subject: tasks.snmp_agent_uptime: fix scripts in howto --- tasks/snmp_agent_uptime/howtos/en/index.html | 5 +---- tasks/snmp_agent_uptime/howtos/si/index.html | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'tasks/snmp_agent_uptime/howtos') 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 @@ #!/bin/bash
uptime=$(</proc/uptime)
seconds=${uptime%%.*}
- echo "Uptime in seconds:" $seconds
+ echo $seconds
exit 0
  • @@ -171,9 +171,6 @@ command snmpwalk -c students -v1 IPaddressOfServer 1.3.6.1.4.1.8072.1.3.2.4.1.2
  • -
  • - you should get string: "Uptime in seconds: xyz" -
  • 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 @@ #!/bin/bash
    uptime=$(</proc/uptime)
    seconds=${uptime%%.*}
    - echo "Uptime in seconds:" $seconds
    + echo $seconds
    exit 0

    skripto nato shrani kjerkoli hoces @@ -170,9 +170,6 @@ ukaz snmpwalk -c students -v1 IPnaslovStreznika 1.3.6.1.4.1.8072.1.3.2.4.1.2 -
  • - moral bi vrniti taksen string: "Uptime in seconds: xyz" -
  • -- cgit v1.2.1