Zabbix haproxy configuration dosent set 'source'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Maciej Relewicz |
Bug Description
Zabbix use haproxy to handle agent traffic for virtual host "Openstack Cluster".
It binds to $zabbix_vip, but inside haproxy namespace we have more than one ip address:
b_management
b_zbx_vip_mgmt
This mean that traffic from haproxy is outcoming from "random" ip address (not accepted by zabbix-agent).
We need to set "source" inside haproxy listen:
listen zabbix-agent
bind 192.168.0.3:10049
balance roundrobin
mode tcp
option tcpka
timeout client 48h
timeout server 48h
source 192.168.0.3
server node-1 192.168.0.8:10050 check inter 5000 rise 2 fall 3
server node-2 192.168.0.7:10050 check inter 5000 rise 2 fall 3
server node-3 192.168.0.6:10050 check inter 5000 rise 2 fall 3
Changed in fuel: | |
assignee: | Fuel Plugin Zabbix (fuel-plugin-zabbix) → Maciej Relewicz (rlu) |
Changed in fuel: | |
status: | New → In Progress |
Changed in fuel: | |
milestone: | none → 8.0 |
tags: | added: area-plugins |
tags: | added: dev-to-verify |
Reviewed: https:/ /review. openstack. org/239876 /git.openstack. org/cgit/ openstack/ fuel-plugin- external- zabbix/ commit/ ?id=d78e3f52a53 19580bc157835a5 9e5d795b3080d2
Committed: https:/
Submitter: Jenkins
Branch: master
commit d78e3f52a531958 0bc157835a59e5d 795b3080d2
Author: Maciej Relewicz <email address hidden>
Date: Wed Oct 28 10:08:23 2015 +0100
added source parameter in zabbix haproxy configuration
Closes-Bug: #1510115 2c3aefc1d8c5f33 5edbec3731c
Change-Id: Id0ee351779ac07