[FIX] Undefined offset in uptime monitoring

 * Fixes #1561