Patches for check_uptime plugin [sf#824146] [#443]