hpl123 wrote
As you write the tomcat up/Aware down + static html check so I guess you have read the forum posts about uprobot etc. etc.. Should work in most cases I would say, how often is Tomcat up and Aware down?
I've had both... Tomcat confused because 'garbage' was sent to it,
and Aware down (ie html login page responds, but will not login to Aware)
How is uptimerobot appropriate to this?
Caddy and NGinx have health checks - this needs to be done inside these products, not an outside test service.
"robot" is just going to send an email - that does nothing for re-routing to the alternate sever.
hpl123 wrote
The REST thing could probably work, I am not sure though how much server and Aware server resources an REST call would take and another thing, are we 100% sure the REST functionality works ("is up" and receiving) 100% of the time?
yes, its fine.
hpl123 wrote
Another thing you could do is have the Aware server do some scheduled action every minute or so, either a REST call somewhere or save an logentry in an external DB (that some other thing thing checks). A variation of this is having Aware export an static html page with date and time in title and then use something like uprobot to check that (assuming uprobot or some other uptime monitoring tool can have rules/logic checking for specific things. OS tasks can maybe even be set up for this i.e to check for a particular file etc. and if not found do something).
sure, i could write a file somewhere. but we can't guarantee an EXACT time the Aware scheduler will run. A timestamp in this file isn't supported in the Health Checks of these products. And the presence of the file isn't valid - because something has to remove the file after the Health Check which isn't possible either.
again, needs to be compatible with the Health Checks for the reverse proxy.
(modifying the OP)