Monitor should be better at detecting if the site is down or deleted
If a user deletes their site but forgets to deactivate the jetpack monitor he/she might be getting emails saying their site is down.
To fix it they go to their Sites Dashboard on WordPress.com https://wordpress.com/my-blogs/ and click on the disconnect site link.
Could there be a better way of doing this?
Maybe if they've been down for 24h or more we email them specifically to ask if they've deleted and prompt them with next steps? On Jun 13, 2014 4:44 PM, "enejb" [email protected] wrote:
If a user deletes their site but forgets to deactivate the jetpack monitor he/she might be getting emails saying their site is down.
To fix it they go to their Sites Dashboard on WordPress.com https://wordpress.com/my-blogs/ and click on the disconnect site link.
Could there be a better way of doing this?
— Reply to this email directly or view it on GitHub https://github.com/Automattic/jetpack/issues/712.
BTW, this is not just emails saying site down. I get emailed absurdly flapping statuses. For example just got this yesterday:
Good news — your site http://hostgator.wpbench.me is back up!
Your total downtime was 1 hour, but your site was up again as of Thursday, June 12, 1:40 am.
That entire HostGator account has been offline for weeks. It's currently showing a suspended page. And, that sort of behavior is not a one off case. I've gotten tons of emails up/down for a variety of JP sites at various hosts I had at one point in testing.
Also, I'd totally go for one click deactivate button in that email you mention @georgestephanis. Make the action clear and prominent and just do it if they click it.
Another possible tack that might be smarter or useful in conjunction with a manual button in email: suppress all of the alerts after X amount of time has passed without success. If success ever returns, resume normal monitoring flow.
If the site returns a 200 answer ( that it's the case for curl -LIA "jetmon/1.0 (Jetpack Site Uptime Monitor by WordPress.com)" http://hostgator.wpbench.me ), even if the Jetpack is not connected anymore we consider the site as being up.
I agree that we have to plan some detection of sites not using Jetpack anymore(that haven't disconnected Jetpack).
The monitor works as you suggest, you receive one first "your site went down" alert, a second alert one hour later, and you shouldn't receive anything else until your site goes up again.
HTTP 200 or not, it's functionally really broken as a user.
What about looking for something specific to a connected Jetpack in the response of the request instead of just status codes? Maybe make a dedicated super lightweight page in the JP plugin that the monitor can pull?
The monitor works as you suggest, you receive one first "your site went down" alert, a second alert one hour later, and you shouldn't receive anything else until your site goes up again.
Cool.
An idea from an user: If the site has been down for a very long time (e.g. months), suspend monitoring and/or disconnect the JP connection on our end.
This issue has been marked as stale. This happened because:
- It has been inactive in the past 6 months.
- It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`.
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.
Removed Stale as this is being actively looked into at https://github.com/Automattic/jetpack/issues/6585
This issue has been marked as stale. This happened because:
- It has been inactive in the past 6 months.
- It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`.
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.
This issue has been marked as stale. This happened because:
- It has been inactive in the past 6 months.
- It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`, etc.
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.