Testing JIRA service management with Zabbix . Followed the steps as per the Integrate with Zabbix | Jira Service Management Cloud | Atlassian Support. I'm getting alerts created automatically, however it seems I can't send {TRIGGER.SEVERITY} and a custom host tag {EVENT.TAGS.ENVIRONMENT} in alert summary/subject and description.
Hi Kakollu,
Where are you trying to modify the Summary? Is it in the Create rule in the Integration?
Thank you for your response @John Funk . Here is my challenge. I'm not able to send HOST Tags such as Environment as an argument to JSM. On the JSM alert rule I created an alert property called "{{_payload.environment}}" and that property is dragged on to alert "message" field in alert rule . I'm now adding environment as a custom argument to send2jsm command. But for some reason, it is not working. Here is my full send2jsm command
/home/jsm/jec/scripts/send2jsm -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}' environment '{HOST.TAGS.Env}'
Not sure what I'm missing here. Please note that Env is a custom tag created for Zabbix host. I tried with EVENT.TAGS as well ,but nothing worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response again. How to do that and how to send that extra property as part of send2jsm. Any examples? I tried _payload.environment in alert rule and tried to send that via send2jsm using environment argument as HOST.TAGS.Env but that didn't work. Appreciate if you can share an example
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.