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

Add hostnames option in inventory plugin #1417

Open
Fairy- opened this issue Nov 6, 2024 · 0 comments
Open

Add hostnames option in inventory plugin #1417

Fairy- opened this issue Nov 6, 2024 · 0 comments

Comments

@Fairy-
Copy link

Fairy- commented Nov 6, 2024

SUMMARY

Allow the usage of jinja templates to compose inventory_hostname

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

community.zabbix.zabbix_inventory

ADDITIONAL INFORMATION

This would allow customizing the Hostname for better interoperability with other inventories.

Some other dynamic inventory plugins already have this feature:

  • community.vmware.vmware_vm_inventory
  • amazon.aws.aws_ec2 inventory
plugin: community.zabbix.zabbix_inventory
server_url: zabbix
login_user: ...
login_password: ...
hostnames:
 - inventory_hostname | lower
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

1 participant