Update check_utm_red_state.pl

fixed uptime calculation and some bugs, tested with version 9.106-17