opsgenie-integration icon indicating copy to clipboard operation
opsgenie-integration copied to clipboard

Updated zabbix2opsgenie.go to allow for ack

Open larcorba opened this issue 5 years ago • 0 comments

Updated zabbix2opsgenie.go to allow for filtering on acknowledged yes or no.

Important to add: /etc/opsgenie/zabbix2opsgenie -triggerName='{TRIGGER.NAME}' -triggerId='{TRIGGER.ID}' -triggerStatus='{TRIGGER.STATUS}' -triggerSeverity='{TRIGGER.SEVERITY}' -triggerDescription='{TRIGGER.DESCRIPTION}' -triggerUrl='{TRIGGER.URL}' -triggerValue='{TRIGGER.VALUE}' -triggerHostGroupName='{TRIGGER.HOSTGROUP.NAME}' -hostName='{HOST.NAME}' -ipAddress='{IPADDRESS}' -eventId='{EVENT.ID}' -date='{DATE}' -time='{TIME}' -itemKey='{ITEM.KEY}' -itemValue='{ITEM.VALUE}' -recoveryEventStatus='{EVENT.RECOVERY.STATUS} -eventAck='{EVENT.ACK.STATUS}’

To Zabbix action 'Update Operation'

OpsGenie filters should allow for filtering on this as well to make this change possible. Ticket OGS-319

larcorba avatar Jan 30 '20 14:01 larcorba