According to Zabbix API documentation the parameter 'search' "Accepts an array, where the keys are property names, and the values are strings to search for. "
So what I'm trying to do in the code below is search for text fields that contain the word "Access" or "XSD".
Somebody can help me to do that?
So what I'm trying to do in the code below is search for text fields that contain the word "Access" or "XSD".
Code:
for h in HostID:
gatilho = zapi.trigger.get(
host='apacheserver01',
expandDescription = 'true',
output='extend',
search={'description':['Access','XSD']},
)
Somebody can help me to do that?