Check for when website fails over from production to backup
Posted: Fri Jul 12, 2019 3:38 pm
We have a website (http://admin.mysanibel.com) that dispalys an error message when production has failed over to backup.
The message is "WARNING: The site is currently being served from a backup/failover server. Changes made here will only be visible until the site returns to production mode. You will need to recreate your changes in the production environment if you want them to remain in effect permanently."
I don't need the whole text, and can use the string "backup/failover" as the trigger.
I was looking at Monitor a website, but didnt see a way to create a check that is "green" (OK) without the text, and an error alerrt conditon when the text is present.
Thanks,
Bert Smith
239-472-3700
The message is "WARNING: The site is currently being served from a backup/failover server. Changes made here will only be visible until the site returns to production mode. You will need to recreate your changes in the production environment if you want them to remain in effect permanently."
I don't need the whole text, and can use the string "backup/failover" as the trigger.
I was looking at Monitor a website, but didnt see a way to create a check that is "green" (OK) without the text, and an error alerrt conditon when the text is present.
Thanks,
Bert Smith
239-472-3700