Questions tagged [healthcheck]

100 questions
11
votes
3 answers

How to set up ELB health checks with multiple applications running on each EC2 instance?

At AWS we'd like to to use ELBs to load balance EC2 instances which host multiple applications. Ideally we'd like to have a health check for application. However, AWS Elastic Load Balancers currently only allow you to ping one location for a health…
10
votes
2 answers

Where are the Google Health check logs

I am running a GCE instance and on it I have a Kubernetes cluster running. An HTTP Load Balancer is also configured to probe the health of the a Kubernetes service running on this instance. But I constantly get this error: Error: Server Error The…
9
votes
2 answers

How should I configure my ELB health check when using NameVirtualHosts and redirecting to www?

My ELB keeps taking my instances out of service, because the HTTP health check is failing. We have a DNS wildcard, and redirect everything to www: vhost.conf: ServerName www.example.com ServerAlias *.example.com RewriteEngine on RewriteCond…
chris
  • 3,933
  • 6
  • 26
  • 35
8
votes
2 answers

AWS: Target.FailedHealthChecks - Site always in "severe" state

My Elastic Beanstalk application is in a constant severe state... even though it's working absolutely fine. Looking at the Health screen it says that 100% of its requests are 3xx, and looking at the logs, this is apparently…
7
votes
1 answer

What is HEALTHCHECK really used for when running Docker in swarm mode?

I'm having a hard time figuring out what HEALTHCHECK really is used for when running Docker in swarm mode. One place suggests that Docker will restart a task which is considered unhealthy. Another place explains that Docker will stop sending traffic…
sbrattla
  • 1,456
  • 3
  • 26
  • 48
6
votes
6 answers

How Amazon ELB Health check Works?

I am having problems configuring ELB for my servers. I start 2 micro instances with the exact same conf and try to do Load Balancing. However they never pass the health check (HTTP port 80 path:"/"). Ping is ok on the website. So is telnet on…
diegodias
  • 165
  • 1
  • 1
  • 6
5
votes
2 answers

Verify internal NTP server is sending the correct time?

I have two NTP stratum 3 servers running and wanted to create a simple check that I could tell if either of the servers time drifted and alert that it's not synced properly with the public stratum 2 servers. My first thought was to pull time from…
krizzo
  • 367
  • 2
  • 5
  • 16
5
votes
1 answer

HAproxy: Run script on health check change

I have set up a haproxy configuration with a backend with two servers looking like that: ... default option log-health-checks ... mailers mta mailer smtp1 127.0.0.1:25 ... backend s_api balance roundrobin option…
mr.simonski
  • 225
  • 3
  • 12
5
votes
1 answer

AWS Elastic Beanstalk Health Check on Alternate Port using Application Elastic Load Balancer

I'm trying to automate the configuration of my Elastic Beanstalk application using Saved Configs. Does anyone have an example of how to get the application load balancer created from Elastic Beanstalk to use a different health check port? If not, is…
3
votes
1 answer

Apache load balancer: health check with long timeout

I'm using Apache HTTP Server as a reverse proxy for a couple of Tomcat instances. I've setup load balancing as follows: BalancerMember "http://10.0.0.1:8080" hcmethod=HEAD hcuri=/status BalancerMember…
simlev
  • 1,037
  • 2
  • 14
  • 22
3
votes
2 answers

Configuring correct firewall settings for GCP HTTP load balancer

I have two VMs running HTTP servers on port 8545 as shown in the figure and placed in an instance group. I created a HTTP load balancer in GCP to balance HTTP requests from end users. However, with the setup shown in the figure and the firewall…
3
votes
1 answer

Disable AWS ELB health check

Is there a way to disable AWS ELB's health check completely? I use a logger middleware (morgan) to log all requests and it's quite annoying for health check requests to get logged every 5min.
Avery235
  • 165
  • 2
  • 6
3
votes
1 answer

How to respond to http health check at a particular url while redirecting other traffics?

Background: I am trying to set up an instance group in Google cloud platform. The instance group consists a number of nginx instances whose job is simply to redirect incoming https traffic to an external site. If the incoming traffic is http, it…
3
votes
1 answer

HAProxy health check for a single backend

I have a HAProxy configuration with a single backend something very similar to this: backend mybackend option httpchk get /ping http-check expect ! rstatus ^5 server mybackend-0 192.168.1.1:9041 weight 1 The /ping endpoint always return 200. My…
Zeeshan
  • 33
  • 1
  • 3
3
votes
1 answer

How to health check hosts over HTTPS behind the load-balancer?

I have NGINX serving my site over HTTPS on EC2 hosts behind Elastic Load Balancer. I need to set up a proper health-check in ELB. However, I cannot use https://www.example.com because I need to health-check a HOST, not my site. And on the other…
curiousboy
  • 183
  • 1
  • 5
1
2 3 4 5 6 7