jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Monitor should be better at detecting if the site is down or deleted

Open enejb opened this issue 12 years ago • 10 comments

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?

enejb avatar Jun 13 '14 21:06 enejb

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.

georgestephanis avatar Jun 13 '14 22:06 georgestephanis

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.

mhsdef avatar Jun 14 '14 01:06 mhsdef

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.

mhsdef avatar Jun 14 '14 01:06 mhsdef

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.

lezama avatar Jun 14 '14 02:06 lezama

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.

mhsdef avatar Jun 14 '14 02:06 mhsdef

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.

kraftbj avatar Mar 15 '15 20:03 kraftbj

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.

stale[bot] avatar Jul 07 '18 15:07 stale[bot]

Removed Stale as this is being actively looked into at https://github.com/Automattic/jetpack/issues/6585

abidhahmed avatar Jul 10 '18 10:07 abidhahmed

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.

stale[bot] avatar Jan 06 '19 15:01 stale[bot]

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.

github-actions[bot] avatar Jul 26 '21 00:07 github-actions[bot]