-
Notifications
You must be signed in to change notification settings - Fork 313
Zabbix actions discovery checks with condtions #1473
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1473 +/- ##
==========================================
+ Coverage 78.99% 79.05% +0.05%
==========================================
Files 47 47
Lines 5946 5958 +12
Branches 1535 1539 +4
==========================================
+ Hits 4697 4710 +13
+ Misses 769 768 -1
Partials 480 480 ☔ View full report in Codecov by Sentry. |
Fix after sanity test
Found 1 pep8 issue(s) which need to be resolved: ERROR: plugins/modules/zabbix_action.py:812:1: E302: expected 2 blank lines, found 1
@@ -0,0 +1,2 @@ | |||
minor_changes: | |||
- zabbix_action module add discovery check condition in discovery rule. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make it a bit more verbose. Currently discovery rules already have discovery check condition.
Co-authored-by: Evgeny Yurchenko <ey@bgmot.com>
Thank you for your contribution! |
SUMMARY
Fixes #1409
Creating discovery action with conditions.type=discovery_check and dchecks.type=Zabbix throw error.
One discovery rule can have many checks with same type - "Zabbix agent", but with different keys.
ISSUE TYPE
COMPONENT NAME
zabbix_action module
ADDITIONAL INFORMATION