summaryrefslogtreecommitdiffstats
path: root/roles/lib_zabbix/library
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2015-08-28 18:03:59 -0400
committerThomas Wiest <twiest@redhat.com>2015-08-31 14:14:43 -0400
commit1f52ea8c4e2f8cfce51e98cb3614c61f0d78ec3e (patch)
tree724cceae135c9e966ad32cf5443dad16fca5a778 /roles/lib_zabbix/library
parentbac81adf9d7036e02db457eb78d5d91c3d630cd9 (diff)
downloadopenshift-1f52ea8c4e2f8cfce51e98cb3614c61f0d78ec3e.tar.gz
openshift-1f52ea8c4e2f8cfce51e98cb3614c61f0d78ec3e.tar.bz2
openshift-1f52ea8c4e2f8cfce51e98cb3614c61f0d78ec3e.tar.xz
openshift-1f52ea8c4e2f8cfce51e98cb3614c61f0d78ec3e.zip
added docker zabbix template, removed unused / old templates so they don't confuse other people.
Diffstat (limited to 'roles/lib_zabbix/library')
-rw-r--r--roles/lib_zabbix/library/zbx_trigger.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/lib_zabbix/library/zbx_trigger.py b/roles/lib_zabbix/library/zbx_trigger.py
index 43f3d2677..c707a2f64 100644
--- a/roles/lib_zabbix/library/zbx_trigger.py
+++ b/roles/lib_zabbix/library/zbx_trigger.py
@@ -65,7 +65,7 @@ def get_deps(zapi, deps):
for desc in deps:
content = zapi.get_content('trigger',
'get',
- {'search': {'description': desc},
+ {'filter': {'description': desc},
'expandExpression': True,
'selectDependencies': 'triggerid',
})
@@ -119,7 +119,7 @@ def main():
content = zapi.get_content(zbx_class_name,
'get',
- {'search': {'description': description},
+ {'filter': {'description': description},
'expandExpression': True,
'selectDependencies': 'triggerid',
})