我有一个运行wordpress应用程序的ElasticBean秸秆应用程序,当健康检查主页在4xx and 5xx范围内返回一个HTTP代码时,我想要一些监视和缩放触发器。我在那里看到了缩放规则和健康检查字段。Health check -- which is the [home page][1] (/index.php) -- returns a response status code within 4xxand 5xx
- spin up
Environment health has transitioned from Ok to Severe. 4.5 % of the requests to the ELB are failing with HTTP 5xx但是,如果环境健康状态不是"OK“或"Warning”,我希望停止执行crons。有没有办法以编程方式从运行在同一实例上的php脚本中获取健康状态代码(如下图所示,红色圆圈所示)?