-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Fixes for Zabbix module issues and compatibility fixes #62012
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
Fixes for Zabbix module issues and compatibility fixes #62012
Conversation
238fa3e
to
aa6e9bc
Compare
982d8da
to
e88651d
Compare
@t0fik Thanks! This looks fantastic! We have a number of open issues related to the Zabbix modules would you mind linking those issues to this PR so they'll get closed once this PR is merged? One additional ask, would you mind converting the tests over to PyTest? We can offer assistance if needed. Thanks again! |
@garethgreenaway I've found only one issue, which is fixed by this PR. |
Hi! I'm your friendly PR bot!You might be wondering what I'm doing commenting here on your PR. Yes, as a matter of fact, I am... I'm just here to help us improve the documentation. I can't respond to Okay... so what do you do? I detect modules that are missing docstrings or "CLI Example" on existing docstrings! So what does that have to do with my PR? I noticed that in this PR there are some files changed that have some of these Okay, what are they? Well, my favorite, is that since you were making changes here I'm hoping that If I can, then what? Well, you can either add them to this PR or add them to another PR. Either way is fine! Well... what if I can't, or don't want to? That's also fine! We appreciate all contributions to the Salt Project. If you Whatever approach you decide to take, just drop a comment here letting us know! Detected Issues (click me)Check Known Missing Docstrings...........................................Failed - hook id: invoke - duration: 1.15s - exit code: 1 Thanks again! |
@t0fik all good. Just making sure the PR addresses the right issues, if this doesn't cover all the other issues but future PRs might that's great. The Zabbix modules are one collection of modules that we've considered moving out into a Salt extension separate from the main Salt code. This will allow it to be updated quicker than it has previously. It would live under a community controlled organization but wouldn't be actively maintained by the Salt core team. Would you be interested in being the owner of such an extension? |
@garethgreenaway Sorry for late response. I was loaded with other tasks. I think, that I'm not the best candidate to be the owner. I will contribute when I find any problem. |
ISSUES FIXED: #60795
What does this PR do?
zabbix_user.admin_password_present
state, due to changed error message in Zabbix 6.0zabbix.host_update
not mapping group ids list to list of dicts in format[{"groupid": groupid}, ...]
([BUG] zabbix_host.present groupid is missing #60795)zabbix.user_update
not mapping usergroup id list to list of dicts in format[{"usrgrpid": usrgrpid}, ...]
zabbix.user_getmedia
methodzabbix.user_update
for Zabbix 3.4+zabbix.user_get
to return full user info with groups and mediaszabbix.user_addmedia
to return error with comment for Zabbix 4.0+ due touser.addmedia
method removalzabbix.user_deletemedia
to return error with comment for Zabbix 4.0+ due touser.deletemedia
method removalCLI Example
sectionsMerge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
Commits signed with GPG?
No
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.