# HealthCheck in Baseconfiguration

**URL:** <https://www.ruby-forum.com/t/healthcheck-in-baseconfiguration/228332>\
**Category:** NGINX\
**Created:** [April 18, 2013, 10:38am UTC](https://www.ruby-forum.com/t/healthcheck-in-baseconfiguration/228332 "2013-04-18T10:38:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HajoLOcke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/e99b99/32.png) [@HajoLOcke](https://www.ruby-forum.com/u/HajoLOcke)\
**Post date:** [April 18, 2013, 10:38am UTC](https://www.ruby-forum.com/t/healthcheck-in-baseconfiguration/228332/1 "2013-04-18T10:38:29Z")

</div>

Hello,

i use nginx 1.0.12 and 1.2.4  
I know there is a special healthcheckmodule. But i want to know if nginx  
ist  
doing a kind of healtcheck in its basic Configuration without the  
special  
HttpHealthcheckModule. Is nginx able to check and/or weight his backend  
in a  
simple base Configuration?

Thanks,  
Hajo

Posted at Nginx Forum:

> **[HealthCheck in Baseconfiguration](https://forum.nginx.org/read.php?2,238450,238450#msg-238450)**
>
> Hello, i use nginx 1.0.12 and 1.2.4 I know there is a special healthcheckmodule. But i want to know if nginx ist doing a kind of healtcheck in its basic Configuration without the special HttpHealthcheckModule. Is nginx able to check and/or weight his...

---

<div class="post-metadata">

**Author:** ![HajoLOcke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/e99b99/32.png) [@HajoLOcke](https://www.ruby-forum.com/u/HajoLOcke)\
**Post date:** [April 18, 2013, 10:42am UTC](https://www.ruby-forum.com/t/healthcheck-in-baseconfiguration/228332/2 "2013-04-18T10:42:35Z")

</div>

On Apr 18, 2013, at 12:37 PM, “HajoLOcke” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello,
> 
> i use nginx 1.0.12 and 1.2.4  
> I know there is a special healthcheckmodule. But i want to know if nginx ist  
> doing a kind of healtcheck in its basic Configuration without the special  
> HttpHealthcheckModule. Is nginx able to check and/or weight his backend in a  
> simple base Configuration?

There has been always a mechanism to check backend state in nginx load  
balancing code.

However, that’s not an “out-of-band” health checking, as you pointed  
out. It’s more like an integrated or “in-band” synchronous check.

Rationale for that is that nginx was developed and mostly used across  
high load environments, so an asynchronous health check running every  
few minutes doesn’t really help when you’ve got thousands requests per  
second per backend.

We always check if a particular request has failed, and you’ve got means  
to configure the restoration logic.

> **[Module ngx\_http\_upstream\_module](http://nginx.org/en/docs/http/ngx_http_upstream_module.html#server)**
>
> The ngx\_http\_upstream\_module module is used to define groups of servers that can be referenced by the proxy\_pass, fastcgi\_pass, uwsgi\_pass, scgi\_pass, memcached\_pass, and grpc\_pass directives.

---

<div class="post-metadata">

**Author:** ![HajoLOcke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/e99b99/32.png) [@HajoLOcke](https://www.ruby-forum.com/u/HajoLOcke)\
**Post date:** [April 18, 2013, 11:40am UTC](https://www.ruby-forum.com/t/healthcheck-in-baseconfiguration/228332/3 "2013-04-18T11:40:25Z")

</div>

Hello,

thanks for your quick response. I tried the HttpHealthcheckModule 2  
years  
ago.  
Then this module only worked in combination with round\_robin and not  
ip\_hash. Has this situation changed?  
May be i dont need this Module, but i want to do some tests with it.

Thanks,  
Hajo

Posted at Nginx Forum:

> **[Re: HealthCheck in Baseconfiguration](https://forum.nginx.org/read.php?2,238450,238465#msg-238465)**
>
> Hello, i use nginx 1.0.12 and 1.2.4 I know there is a special healthcheckmodule. But i want to know if nginx ist doing a kind of healtcheck in its basic Configuration without the special HttpHealthcheckModule. Is nginx able to check and/or weight his...
