sensu-plugins / sensu-plugins-haproxy

This plugin provides native HAProxy instrumentation for monitoring and metrics collection, including: service health and backend server metrics.
http://sensu-plugins.io
MIT License
11 stars 37 forks source link

Consider "going down" backup as still UP. #19

Closed modax closed 7 years ago

modax commented 7 years ago

When backend is going down (i.e. healthcking has not reached a "fall" threshold yet), its status becomes "UP x/x" [1] rathen than UP. We should consider this status the same as UP since what is the point of healthcheck configuration then.

[1] https://github.com/haproxy/haproxy/blob/master/src/stats.c#L1224

sstarcher commented 7 years ago

@modax this can be closed right?

modax commented 7 years ago

@sstarcher Yeah.

(merged as part of https://github.com/sensu-plugins/sensu-plugins-haproxy/pull/20)