-
-
Notifications
You must be signed in to change notification settings - Fork 229
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 Support for Zabbix Agent 2 #692
Comments
I've got a branch with limited agent2 support here: https://github.com/jameskirsop/puppet-zabbix/tree/agent2 It needs some polishing before a PR can be created. Basically, switching out the
To standardise a little bit, I've changed the config and pid file names from I'll need to put some more time in to complete the changes so that it's got more coverage, but if you're on a system that uses PR's to my branch are welcome while I continue chipping away. |
I've put work on this on hold until we get #743 done, so that at least I can test a working master release with my branch on top of it in my puppet environments. |
@jameskirsop I'd like to test your changes, provide feedback and pullrequests (if needed) but could you please update your repo to the latest from master? |
@Heidistein would it be more beneficial to just switch the manifest to install agent2 rather than increasing complexity to support both? I have the following code working for redhat/centos I have updated the debian/ubuntu service but have not tested it. only thing missing is plugin settings for the new agent which i can easily add. |
Updating everything to zabbix-agent2 would also depend on a choco package so I have placed a request for the Zabbix guys to update the choco package to support zabbix-agent2 here: zabbix/zabbix-agent-chocolatey#27 |
I certainly would be easyer and cleaner to just support agent2. However I dare not to choose the agent version for people (just yet). Guaranteed there will be a situation where agent2 is a problem, and agent itself is required. For example, hand in my own pocket, we still have ancient machines, used for the battles of Napoleon, for which there is no agent2 available (nor will there ever). |
@Heidistein no worries. I have created a new branch here: https://github.com/shane-davidson/puppet-zabbix/tree/agent_agent2 It keeps all the same variables between agent and agent2 versions and switches between them with the bool $install_agent2 here considerations:
I have tested this in a centos/redhat environment. Let me know if there is anything you want me to add/fix up. |
Share, great work. I will read your code after the weekend, sorry. Life happens.
Again, next week I will help you. I will make testcases and code for debian, allthough redhat is my street. |
@Heidistein, I've just merged the latest changes from master onto my branch for you to test / PR against. Some things I still need to work on / need guidance for /help with:
I also suggest we pull out the |
Hello @jameskirsop.
BTW, we had to create our own Chocolatey package, but that's another topic. |
Thanks @vincent-zurczak, I've added a commit to address those two issues for Windows. |
hey I am interested in this and wondering if we are close to a choco package with zabbix agent 2 |
Hello, I am interested in this and wondering if this will be implemented? At least for Unix like OS's :-) |
Hi, I'm also interested in support for zabbix-agent2. |
Any ETA for this update? |
Is there any update on this? |
I'm very interested in switching to this module but only when you add 2nd agent support |
The current version of this module does not support Zabbix Agent 2.
Agent 2 has much more functionality and we would like to switch to it.
Please add new agent support to your wonderful module.
The text was updated successfully, but these errors were encountered: