Fix "Uptime" service test name ... dooh!
[nagcollect.git] / client / lib / tests / Uptime.tst
1 # NagCollect -- Nagios Data Collector for Passive Checks
2 # Copyright (c)2009 Alexander Barton, alex@barton.de
3
4 SERVICE="Uptime_p"
5
6 uptime=`LC_ALL=C uptime`
7 uptime=${uptime%,*user*}
8 uptime=${uptime##* up }
9
10 STATUS=0
11 TEXT="Uptime: $uptime"