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

Import Media type through xml #103

Open
rockaut opened this issue Jun 22, 2020 · 4 comments
Open

Import Media type through xml #103

rockaut opened this issue Jun 22, 2020 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed module The issue or pull request is related to Zabbix module

Comments

@rockaut
Copy link
Contributor

rockaut commented Jun 22, 2020

SUMMARY

Since 5.0 media types might also get imported through a xml file. It would be great if we not only can process them with a typical ansible action but also through an property like we have in template_xml?
This would be great as most of the newer default zabbix mediatypes are provided out-of-the box through a git repo (https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media)

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

zabbix_mediatype

@D3DeFi D3DeFi added enhancement New feature or request module The issue or pull request is related to Zabbix module labels Jun 22, 2020
@D3DeFi
Copy link
Contributor

D3DeFi commented Jun 22, 2020

Means something like state: import to zabbix_mediatype?

@D3DeFi
Copy link
Contributor

D3DeFi commented Jun 22, 2020

We've unfortunately failed to merge more generic module ansible/ansible#43311 into the upstream Ansible when we had a chance.

I wanted to modify and merge that PR here (initiative in #34), but something along time.. and other priorities... came to my way :/

Fortunate part is that source branch of that PR still exists so I should be able to cherry-pick them. Do you think something like that could satisfy this?

@rockaut
Copy link
Contributor Author

rockaut commented Jun 22, 2020

Ad. ansible/ansible#43311 I don't think that would be a good approach. I would guess the more Zabbix gives the possibilities to import from file the more they will split it in the frontend too. Imo having this in their own actions like you said with state: import would fit way better and also might make it more maintainable over time.

Here it would again help if there would be a module_util thing again like mentioned more times now.

@D3DeFi
Copy link
Contributor

D3DeFi commented Aug 8, 2020

What about new modules zabbix_mediatype_import to not plague the old one even more?

Label this help wanted?

@D3DeFi D3DeFi added the help wanted Extra attention is needed label Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed module The issue or pull request is related to Zabbix module
Projects
None yet
Development

No branches or pull requests

2 participants