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

You can not configure hostname in zabbix::proxy #59

Closed
caiohasouza opened this issue Mar 3, 2015 · 5 comments
Closed

You can not configure hostname in zabbix::proxy #59

caiohasouza opened this issue Mar 3, 2015 · 5 comments

Comments

@caiohasouza
Copy link

When I declare the proxy hostname by class, for example:

class { 'zabbix::proxy':
zabbix_package_state => 'latest',
hostname => 'proxy.domain.com',
database_host => 'localhost',
database_type => 'mysql',
manage_database => false,
database_name => 'zabbix_proxy',
database_user => 'zabbix',
database_password => 'zabbix',
zabbix_server_host => 'server.domain.com',
database_socket => '/var/lib/mysql/mysql.sock',
database_port => '3306',
offlinebuffer => '8',
logfile => '/var/log/zabbix/zabbix_proxy.log',
logfilesize => '0',
zabbix_server_port => '10051',
pidfile => '/var/run/zabbix/zabbix_proxy.pid',
}

the hostname is not set in zabbix_proxy.conf file, but the server FQDN.

That would work correct?

I'm using:
Centos 6.6
Zabbix Agent 2.4
Zabbix Proxy 2.4
Puppet 3.7.4

Thank you

@dj-wasabi
Copy link
Contributor

Hi xdexter,

Thanks for making time to create this issue.
I found the problem, will push later this day.

Kind regards,
Werner

@caiohasouza
Copy link
Author

Hello Werner,

Perfect, I'm waiting.

Kind Regards

@dj-wasabi
Copy link
Contributor

Hi xdexter,

I just pushed it. Please let me know if you have any troubles.

Kind regards,
Werner

@caiohasouza
Copy link
Author

Hello,

Perfect, is now working!

thank you very much

@Oyabi
Copy link
Contributor

Oyabi commented Mar 24, 2015

Hi,
I think I have the same problem but with hiera.
Here my code :
zabbix::proxy::zabbix_server_host: 'my.domain'
zabbix::proxy::database_type: 'mysql'
zabbix::proxy::zabbix_server_port: '10051'
zabbix::proxy::database_name: 'zabbixproxy'
zabbix::proxy::database_user: 'zabbixproxy'
zabbix::proxy::database_password: 'password'
zabbix::proxy::hostname: 'P_domain'

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants