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::agent::hostinterfaceitem not respected #725

Open
bjschafer opened this issue Oct 29, 2020 · 0 comments · May be fixed by #726
Open

zabbix::agent::hostinterfaceitem not respected #725

bjschafer opened this issue Oct 29, 2020 · 0 comments · May be fixed by #726

Comments

@bjschafer
Copy link

Hello,

Setting zabbix::agent::hostinterfaceitem, e.g. to use DNS in host autoregistration, is not working correctly. I believe the problem is here:

Optional[Stdlib::Fqdn] $hostinterfaceitem = $zabbix::params::agent_hostinterfaceitem,

The type of zabbix::agent::hostinterface should indeed be Optional[Stdlib::Fqdn], but zabbix::agent::hostinterfaceitem should be a string, since it expects a Zabbix item. See the docs (just ctrl+f for "HostInterfaceItem").

bjschafer pushed a commit to bjschafer/puppet-zabbix that referenced this issue Oct 29, 2020
As per the upstream documentation
(https://www.zabbix.com/documentation/5.0/manual/appendix/config/zabbix_agentd),
hostinterfaceitem should be a Zabbix item and NOT an FQDN.

Closes voxpupuli#725
@bjschafer bjschafer linked a pull request Oct 29, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant