Putting a threshold in BOOTTIME does nothing because the numbers are static.
This will change the color when the uptime days reaches 14:
UPTIME=threshold1:1 14 0000f0
Of course you won’t see it if it’s hidden.
I can see you want a combination of boot time and up time on the one display line and make it go red if up time is 14 days or more. I’ve reversed the item order to achieve that:
BOOTTIME=display:%9 %10,set:boottime,hidden:1
UPTIME=interval:60,text:Boot Time,display:%boottime% (Up:%1 days %2 hrs %3 mins),threshold1:1 14 0000f0
-
This reply was modified 2 years ago by
Glenn.
-
This reply was modified 2 years ago by
Glenn.