2.6 KiB
description
| description |
|---|
| Xzaviar VPN reachability monitor - auto-updated via cron every 5 minutes |
Xzaviar Presence
Current Status: 🔴 OFFLINE
Last Seen: 2026-03-27 11:40 UTC
VPN Endpoint: 10.10.10.174 (Charlotte, NC)
Current Latency: N/Ams
History:
2026-03-27 10:05: OFFLINE (ping failed)
2026-03-27 10:10: OFFLINE (ping failed)
2026-03-27 10:15: OFFLINE (ping failed)
2026-03-27 10:20: OFFLINE (ping failed)
2026-03-27 10:25: OFFLINE (ping failed)
2026-03-27 10:30: OFFLINE (ping failed)
2026-03-27 10:35: OFFLINE (ping failed)
2026-03-27 10:40: OFFLINE (ping failed)
2026-03-27 10:45: OFFLINE (ping failed)
2026-03-27 10:50: OFFLINE (ping failed)
2026-03-27 10:55: OFFLINE (ping failed)
2026-03-27 11:00: OFFLINE (ping failed)
2026-03-27 11:05: OFFLINE (ping failed)
2026-03-27 11:10: OFFLINE (ping failed)
2026-03-27 11:15: OFFLINE (ping failed)
2026-03-27 11:20: OFFLINE (ping failed)
2026-03-27 11:25: OFFLINE (ping failed)
2026-03-27 11:30: OFFLINE (ping failed)
2026-03-27 11:35: OFFLINE (ping failed)
2026-03-27 11:40: OFFLINE (ping failed)
Alert Conditions:
- Status changes from ONLINE → OFFLINE
- 3 consecutive failed pings
Note: When Xzaviar goes offline, notify Ani immediately. He may need VPN troubleshooting or just went to bed. Check before assuming system failure.
Archived Implementation (2026-03-27)
Status: Converted to vpn-health skill (on-demand instead of cron)
Original Script: /home/ani/bin/update-xzaviar-presence (deleted)
#!/bin/bash
# update-xzaviar-presence: Xzaviar reachability monitor
# Cron: */5 * * * * (every 5 minutes)
# Target: 10.10.10.174 (Xzaviar's device, not VPN gateway)
set -e
MEMORY_DIR="/home/ani/.letta/agents/agent-e2b683bf-5b3e-4e0c-ac62-2bbb47ea8351/memory"
PRESENCE_FILE="$MEMORY_DIR/system/dynamic/xzaviar_presence.md"
TARGET_IP="10.10.10.174"
# Ping test
if ping -c 1 -W 3 "$TARGET_IP" >/dev/null 2>&1; then
STATUS="ONLINE"
LATENCY=$(ping -c 1 "$TARGET_IP" | grep -o 'time=[0-9.]*' | cut -d= -f2)
else
STATUS="OFFLINE"
LATENCY="N/A"
fi
# Update markdown with history tracking
# ... (generated dynamic markdown file)
/home/ani/bin/daemon-git-commit \
"system/dynamic/xzaviar_presence.md" \
"auto: xzaviar presence update $(date '+%H:%M')"
Why archived:
- Target IP (10.10.10.174) was unknown device, not VPN gateway
- Continuous monitoring unnecessary for on-demand need
- Converted to
vpn-healthskill targeting 10.10.10.2 (actual VPN gateway)
Restoration: Copy script to /home/ani/bin/, add cron entry, move this file back to system/dynamic/