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

zabbix_agentd.conf template Server and ServerActive value population #150

Open
odyssey4me opened this issue Mar 17, 2014 · 1 comment
Open

Comments

@odyssey4me
Copy link

The zabbix_agentd.conf template populates the 'Server' and 'ServerActive' values by joining the list of attribute values found in node['zabbix'].['agent'].['servers'] and node['zabbix'].['agent'].['servers_active'] respectively. Currently these values are not set anywhere unless the deployer has set them manually.

I think a great addition to the agent recipe would be to search for the Zabbix servers using the zabbix::server recipe (or an attribute, as is the more recent trend) in order to automatically populate these attributes if they haven't been assigned any other way.

In the special case of the agent being deployed on the Zabbix server, this should be detected and the additional address of 127.0.0.1 should be included in the list.

@guilhem
Copy link
Collaborator

guilhem commented Mar 17, 2014

#141 (to link issues)

This seems to be quite important to solve

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

2 participants