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

Improve performance of zabbix_host #559

Conversation

baurmatt
Copy link
Contributor

@baurmatt baurmatt commented Nov 2, 2018

Pull Request (PR) description

Before this commit, every template added to a host genarated addtional 5
API calls. This isn't needed as we can get all required information by
only one API call.

Test with 3000 hosts:

root@mbaur-zabbix:~# puppet apply test.pp
Notice: Compiled catalog for mbaur-zabbix.restvlan6.syseleven in environment production in 2.21 seconds
Notice: Applied catalog in 49.49 seconds

This is around 76s fast then before.

This Pull Request (PR) fixes the following issues

Fixes #558.

Before this commit, every template added to a host genarated addtional 5
API calls. This isn't needed as we can get all required information by
only one API call.

Fixes voxpupuli#558.
@baurmatt baurmatt force-pushed the feature/improve_zabbix_host_performance branch from 54e1935 to 555b6be Compare November 2, 2018 09:35
@bastelfreak
Copy link
Member

Thanks for the PR!

@bastelfreak bastelfreak merged commit e8ee04a into voxpupuli:master Nov 2, 2018
@bastelfreak bastelfreak added the enhancement New feature or request label Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve performance of zabbix_host
2 participants