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

Deal with MAINT or DRAIN servers better. #20

Closed modax closed 7 years ago

modax commented 7 years ago

Backend server can be put into maintanance of drain mode administratively. So consider DRAIN servers as UP and just ignore MAINT from checks by default.

PR should be applied on top of https://github.com/sensu-plugins/sensu-plugins-haproxy/pull/19

analytically commented 7 years ago

Fails CI.

modax commented 7 years ago

@analytically: fixed. Sorry about that. I'm not good at ruby at all :)