-
Notifications
You must be signed in to change notification settings - Fork 292
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
Can't create maintenance on Zabbix 6 #637
Comments
I solved to change the line 311 of zabbix_maintenance.py of this collection from this
to this
|
Any plans to fix this in the next release? |
Hi @polcape Are you able to create a PR for this? Thank you! 👍 |
Change to int cast as discussed here ansible-collections#637
Hi @dj-wasabi, |
browsing through the code I think this change is not enough. At least update_maintenance needs also this change or could you please try this? |
Probably @gmueller2000privat , in my script I am using only create_maintenance |
@gmueller2000privat |
Change to int cast as discussed here #637
SUMMARY
Launch creation of maintenance failed
ISSUE TYPE
COMPONENT NAME
Zabbix maintenance
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT / Zabbix Version
Zabbix version 6
Os Rocky Linux 8.5
Python 3.9
STEPS TO REPRODUCE
Launch playbook to create maintenance I get this error, seems cast error on time string
EXPECTED RESULTS
Maintenance created without error
ACTUAL RESULTS
I get this error
The text was updated successfully, but these errors were encountered: