robertdebock / ansible-role-zabbix_agent

Install and configure zabbix_agent on your system.
https://robertdebock.nl/
Apache License 2.0
9 stars 2 forks source link

More configuration options #1

Closed robertdebock closed 5 years ago

robertdebock commented 5 years ago

Describe the solution you'd like I was wondering if it would be possible to add a few more variables to the defaults -> main.yml file on the Zabbix_Agent role? I was thinking that it would be great to be able to specify the hostname, hostmetadata, hostmetadataitem, and timeout options.

Describe alternatives you've considered I have been using a shell script to deploy Zabbix agents and edit the config until now, so using different modules to manipulate lines in the zabbix_agent.conf isn’t an issue. However it would be great to be able to specify a few more items using your role.

Additional context This report came in on the mail by Christopher Hale. Thanks for that!

chaleyeah commented 5 years ago

Thanks for generating this for me. Here are all of the additional options I set during install with my shell script. I incorrectly listed HostMetaDataItem and left out the remote commands options.

Hostname HostMetadata Timeout EnableRemoteCommands LogRemoteCommands

chaleyeah commented 5 years ago

Just tested the new options. I've confirmed that it's working on two test boxes, running Ubuntu 18.04 LTS.

robertdebock commented 5 years ago

Cool, I'll release a version in a moment.

robertdebock commented 5 years ago

Release is done, I'll close this issue, thanks a lot for helping @chaleyeah!