2019-01-11 14:09:05 |
Boroczki, Lajos |
description |
Our nova-cloud-controller setup has e.g. nova-api-ec2 disabled, and it is configured in haproxy.cfg (I'm opening another bug about this one.)
Check_haproxy_servers returns OK in this case, which is invalid; because all of the backends of nova-api-ec2 frontend are down.
Another issue with current check_haproxy_servers script is that it executes check_http against the same url (with a timeout of 10 seconds) about 16 times, while nagios default timeout is also 10 seconds.
I'm attaching the proposed check_haproxy.sh script. |
Our nova-cloud-controller setup has e.g. nova-api-ec2 disabled, and it is configured in haproxy.cfg (Bug: https://bugs.launchpad.net/charm-nova-cloud-controller/+bug/1811398)
Check_haproxy_servers returns OK in this case, which is invalid; because all of the backends of nova-api-ec2 frontend are down.
Another issue with current check_haproxy_servers script is that it executes check_http against the same url (with a timeout of 10 seconds) about 16 times, while nagios default timeout is also 10 seconds.
I'm attaching the proposed check_haproxy.sh script. |
|