Coming Soon - The Watchman Tower WordPress plugin is currently in development. This documentation is prepared in advance for the upcoming release.
Before You Disconnect
Consider pausing instead:- Temporary maintenance? → Pause monitoring
- Testing changes? → Pause is reversible
- Moving hosts? → Pause during migration, resume after
- Permanently removing the plugin
- Decommissioning the website
- Switching to different monitoring solution
- Site is being deleted
Disconnect Methods
- WordPress Admin (Recommended)
- WP-CLI
- Watchman Tower Dashboard
Step-by-Step
1
Access Dashboard
Go to Watchman Tower in WordPress admin sidebar
2
Find Disconnect Button
Scroll to bottom of dashboard or look in Quick Actions panel
3
Click Disconnect
Click the “Disconnect Site” button (usually red/warning color)
4
Confirm Action
A confirmation modal will appear: - Review the warning message - Type
confirmation text if required (e.g., “DISCONNECT”) - Click “Yes,
Disconnect” or “Confirm”
5
Wait for Process
- Plugin sends disconnect request to API - Credentials cleared from WordPress database - Status updates to “Disconnected” - Usually takes 2-5 seconds
6
Verify Disconnection
- Dashboard should show entry screen again - Instance ID and Site ID cleared - Can reconnect immediately if needed
What Happens After Disconnection
Immediate Effects
| Aspect | Status |
|---|---|
| Heartbeat sending | ❌ Stopped |
| Monitoring active | ❌ Disabled |
| Alert notifications | ❌ Disabled |
| Dashboard data | ⏳ Visible for 30 days |
| WordPress options | 🗑️ Deleted |
| Plugin active | ✅ Still installed |
| Can reconnect | ✅ Yes, anytime |
WordPress Plugin State
After disconnection, the plugin:- Remains installed and activated
- Shows entry screen (like first installation)
- No background processes running
- No cron jobs scheduled
- Minimal resource usage
- Leave it installed (harmless)
- Deactivate it
- Delete it completely
- Reconnect immediately
Watchman Tower Dashboard
Site marked as “Disconnected”:- Historical data retained for 30 days
- After 30 days, data permanently deleted
- Site entry removed from sites list
- Can be manually deleted immediately
Data Retention
What Data is Kept?
What Data is Kept?
For 30 days after disconnection: - Site configuration - Historical
uptime data - Heartbeat logs - Alert history - Performance metrics
Purpose: Recovery in case of accidental disconnection
What Data is Deleted?
What Data is Deleted?
Immediately on disconnect: - WordPress database options (API key, tokens)
- Active monitoring tasks - Scheduled heartbeat checks - Pending alerts After 30 days: - All historical data - Site configuration - User associations
How to Delete Data Immediately
How to Delete Data Immediately
- Disconnect via plugin or WP-CLI 2. Log in to Watchman Tower dashboard 3. Go to Sites → Your Site → Settings 4. Danger Zone → “Delete Site” 5. Confirm deletion Result: All data deleted within 24 hours
Reconnecting After Disconnection
Same Site Reconnection
1
Generate New Token
In Watchman Tower dashboard: - Go to Sites → Add Site - Choose
WordPress Plugin - Copy the register token
2
Reconnect in WordPress
- Open Watchman Tower dashboard - Choose “Connect with existing account” - Paste the register token - Click “Connect”
3
New Instance ID
Site gets a new Instance ID (e.g.,
WTHB-X7Y9Z1) Note: Previous
Instance ID cannot be reused4
Fresh Monitoring
- Monitoring starts fresh - No historical data carried over - New uptime calculation begins
Troubleshooting Disconnection
Disconnect button does nothing
Disconnect button does nothing
Disconnect fails with error
Disconnect fails with error
Error: “Failed to disconnect: API error” Causes: - Network issue -
Watchman Tower API down - Invalid credentials Solutions: 1. Check API
status: https://status.watchmantower.com 2. Force local cleanup: ```bash
Clear options even if API fails wp option delete wthb_site_id wp option
delete wthb_instance_id wp option delete wthb_api_key wp option delete wthb_heartbeat_interval wp option delete wthb_monitoring_paused ``` 3. Delete from dashboard: Manually delete site in Watchman Tower UIStill receiving alerts after disconnect
Still receiving alerts after disconnect
Causes: - Alert delay (cached) - Multiple sites with same domain -
Disconnect didn’t reach API Solutions: 1. Wait 5-10 minutes - alert
queue needs to clear 2. Check dashboard: Verify site shows “Disconnected”
status 3. Delete site in dashboard: Go to Settings → Delete Site 4.
Check for duplicate sites: - Multiple WordPress instances? - Staging +
production both connected? - Each needs separate disconnection
Can't reconnect after disconnecting
Can't reconnect after disconnecting
Error: “Site already exists” or token error Causes: - Old
credentials still in database - Browser cache - Previous instance ID
conflict Solutions: 1. Clear WordPress database:
bash wp option delete wthb_site_id wp option delete wthb_instance_id wp option delete wthb_api_key 2. Clear browser cache: Ctrl+Shift+Delete → Clear all
3. Use fresh register token: Generate new one if current token > 1 hour
old 4. Verify site deleted in dashboard: Should not appear in sites listPlugin Deletion vs Disconnection
Just Disconnecting
Process:- Disconnect via dashboard/WP-CLI
- Keep plugin installed and activated
- Can reconnect anytime
- Temporary testing
- Switching accounts
- Changing monitoring setup
- Keeping plugin ready for future
Full Removal
Process:- Disconnect site first (recommended)
- Deactivate plugin
- Delete plugin files
1
Disconnect Site
Use any disconnection method above
2
Deactivate Plugin
WordPress Admin: Plugins → Find “Watchman Tower” → Deactivate Or
WP-CLI:
bash wp plugin deactivate watchman-tower 3
Delete Plugin
WordPress Admin: Plugins → Find “Watchman Tower” → Delete Or WP-CLI:
bash wp plugin delete watchman-tower 4
Verify Removal
Check plugin no longer appears:
bash wp plugin list | grep watchman # Should return: (empty) Deactivation removes:
- Scheduled cron jobs
- Loaded plugin code
- Admin menu items
Emergency Disconnection
If WordPress is Down
If your WordPress site is inaccessible but still sending heartbeats:1
Access Watchman Tower Dashboard
2
Delete Site
Sites → Your Site → Settings → Delete Site
3
Stops Immediately
- Monitoring stops within 1 minute - No more API calls to WordPress - Alerts disabled
If Locked Out of Both
Contact support: [email protected] with:- Site domain
- Account email
- Reason for emergency disconnection
