]> arthur.barton.de Git - nagcollect.git/commitdiff
Uptime.tst: detect new uptime string "* secs"
authorAlexander Barton <alex@barton.de>
Thu, 4 Nov 2010 11:11:24 +0000 (12:11 +0100)
committerAlexander Barton <alex@barton.de>
Thu, 4 Nov 2010 11:11:24 +0000 (12:11 +0100)
client/lib/tests/Uptime.tst

index 58ed1464729becbb18eb89c0b0a4facd3432dc48..fcc9ce0ebee3910d50c50b68f821d0bd8bbf859a 100644 (file)
@@ -28,7 +28,7 @@ if [ `uname` = "Darwin" ]; then
                                "1 day, "*)
                                        STATUS=1
                                        ;;
                                "1 day, "*)
                                        STATUS=1
                                        ;;
-                               *:*|"1 hr"|*" hrs"|*" mins")
+                               *:*|"1 hr"|*" hrs"|*" mins"|*" secs")
                                        STATUS=2
                                        ;;
                                *)
                                        STATUS=2
                                        ;;
                                *)