Lightweight watchdog for remote monitoring