I've been working on a monitoring template for CommVault jobs and each Job Item is being created from an item prototype, however the jobs are being read from an API request which only returns jobs from the last 24 hours. So after some time, some Items are no longer discovered and when this happens, every item changes (?), So Job A becomes Job B and so on, this creates an issue where if a Job failed and triggered an alert, the alert is then moved to a different item (different item ID) but has the same name and data and then the trigger has a different ID and to Zabbix this is a new alert that has never happened before.
Now ths wouldn't be such an issue if JIRA wasn't included. The scenario I described causes JIRA to create 2 different tickets about the same alert. So imagine this
THIS PART IS THE MOST IMPORTANT
1. You get an alert in Zabbix that Job A has failed.
2. A ticket is created in Jira with the title "Job A has failed"
3. After 20 minutes, one item is deleted which causes every other Item to change ID'S
4. Now Job A has a different trigger ID and Zabbix thinks that the trigger as never been triggered before.
5. You get an alert in Zabbix that Job A has failed.
6. A ticket is created in Jira with the title "Job A has failed".
Now Jira normally handles scenarios when an alert repeats (to the original ticket adds a comment "alert repeated"), but only when it's the same trigger ID. So because of this I will keep getting duplicate tickets on Jira. After 1 hour of testing I had 22 tickets but only 7 real alerts. Do you have any idea how to tackle this issue?
Now ths wouldn't be such an issue if JIRA wasn't included. The scenario I described causes JIRA to create 2 different tickets about the same alert. So imagine this
THIS PART IS THE MOST IMPORTANT
1. You get an alert in Zabbix that Job A has failed.
2. A ticket is created in Jira with the title "Job A has failed"
3. After 20 minutes, one item is deleted which causes every other Item to change ID'S
4. Now Job A has a different trigger ID and Zabbix thinks that the trigger as never been triggered before.
5. You get an alert in Zabbix that Job A has failed.
6. A ticket is created in Jira with the title "Job A has failed".
Now Jira normally handles scenarios when an alert repeats (to the original ticket adds a comment "alert repeated"), but only when it's the same trigger ID. So because of this I will keep getting duplicate tickets on Jira. After 1 hour of testing I had 22 tickets but only 7 real alerts. Do you have any idea how to tackle this issue?
.
Comment