Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with firewall when two servers defined #199

Closed
peceka opened this issue Mar 30, 2016 · 1 comment · Fixed by #690
Closed

issue with firewall when two servers defined #199

peceka opened this issue Mar 30, 2016 · 1 comment · Fixed by #690
Labels
bug Something isn't working

Comments

@peceka
Copy link

peceka commented Mar 30, 2016

Hi,

in my infrastructure all zbx-agnts are monitored by zbx-proxies. but when i want to set executing command on trigger i need to add beside zbx-proxy zbx-server too. so i need to define:
zabbix::agent::server: 'zbx-prxy.host, zbx-srv.host'
/etc/zabbix/zabbix-agentd.conf is build correctly but when using firewall i've got:
Error: Failed to apply catalog: Parameter source failed on Firewall[150 zabbix-agent]: host_to_ip failed for zbx-prxy.host, zbx-srv.host, exception no address for zbx-prxy.host, zbx-srv.host at /etc/puppet/environments/prod/modules/zabbix/manifests/agent.pp:355

creating array in yaml resolves firewall problem, but create problem with zabbix-agentd.conf:
Server=["zbx-prxy.host", ", zbx-srv.host"]
which of course doesn't work.

any ideas how to do this? :)

regards,
p.

@dj-wasabi
Copy link

Hi @peceka

At the moment, no. I'll try to find out a solution for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants