hi.
Is there some way to get zabbix ack message from API? I found nothing in the doc's.
Is there some way to get zabbix ack message from API? I found nothing in the doc's.
{
"jsonrpc": "2.0",
"method": "event.get",
"params": {
"output": "extend",
"eventids": "47089",
"select_acknowledges": "extend"
},
"auth": "2d28eceae0b3c7a544d68967fdac9a5b",
"id": 1
}
EVENT = zapi.event.get(time_from=DATA_INICIO,
time_till=DATA_TERMINO,
output='extend',
source='0',
hostids='10340',
value='1',
select_acknowledges='extend'
)
for t in EVENT:
print t
{u'eventid': u'11580422', u'acknowledges': [], u'objectid': u'23059', u'clock': u'1443927936',
u'object': u'0', u'acknowledged': u'0', u'value': u'1', u'source': u'0', u'ns': u'681239139'}
Comment