Questions tagged [healthcheck]

108 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
3 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…
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,993
  • 6
  • 28
  • 37
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,578
  • 4
  • 28
  • 52
6
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
  • 247
  • 4
  • 13
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
  • 387
  • 2
  • 5
  • 16
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…
4
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…
kosta
  • 163
  • 1
  • 2
  • 7
3
votes
1 answer

How to configure an AWS ECS health check for a non web app container

I understand that usually for web app containers there needs to be an HTTP endpoint which responds with 200 for a succesful healthcheck. However, in my case I would have a non web app (a python script) running as an only container in a Fargate…
Khrysmb
  • 31
  • 3
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,105
  • 3
  • 14
  • 22
3
votes
2 answers

DNS layer with service discover as resolver not SRV

I need to know is there any solution for solving my problem. I have a BIND DNS server and consul as service discoverer. This is what i want as simple diagram: How can I configure this sample setup and let BIND just resolve the A record to the IP…
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…
1
2 3 4 5 6 7 8