Hi, i'm relative new to Zabbix and installed the 3.0 VMware Virtual Appliance.
When monitoring a queue on ESB environment i want to create the following trigger:
My item check retrieves the number of messages in a queue.
1) When trigger status = OK (OK = 0 messages), and 1 or more message(s) are in a queue, set trigger status to Problem and send a email.
2) when there remains 1 message in the queue, don't send a new email, but trigger status should remain on PROBLEM.
3) When a extra message is put in a queue (value changes from 1 to 2), send a new email
See below my trigger:
The trigger above does not work, because it sends a OK message when there is 1 message in the queue for multiple checks (value stays 1, so no change and trigger will be set to OK)
The trigger below also doesn't work, because i now will get a trigger each time the value stays the same (i only want a trigger generated when the amount increases)
I need to check the 'Multiple PROBLEM events generation' option, because i want to receive multiple mails whenever the amount of errors increase and the value of the trigger should remain to "PROBLEM" (i use different email templates for PROBLEM and OK mails, so i only want to see a PROBLEM generated).
Any help on this?
Thanks in advance!
When monitoring a queue on ESB environment i want to create the following trigger:
My item check retrieves the number of messages in a queue.
1) When trigger status = OK (OK = 0 messages), and 1 or more message(s) are in a queue, set trigger status to Problem and send a email.
2) when there remains 1 message in the queue, don't send a new email, but trigger status should remain on PROBLEM.
3) When a extra message is put in a queue (value changes from 1 to 2), send a new email
See below my trigger:
Code:
({TRIGGER.VALUE}=0 and {Sonic Productie FT2:queue.messages.Count[ctBR_CCC,BR_CCC,Gemeld_aan_Team_E-business].change()}>0)
or
({TRIGGER.VALUE}=1 and {Sonic Productie FT2:queue.messages.Count[ctBR_CCC,BR_CCC,Gemeld_aan_Team_E-business].change()}>0)
The trigger below also doesn't work, because i now will get a trigger each time the value stays the same (i only want a trigger generated when the amount increases)
I need to check the 'Multiple PROBLEM events generation' option, because i want to receive multiple mails whenever the amount of errors increase and the value of the trigger should remain to "PROBLEM" (i use different email templates for PROBLEM and OK mails, so i only want to see a PROBLEM generated).
Code:
({TRIGGER.VALUE}=0 and {Sonic Productie FT2:queue.messages.Count[ctBR_CCC,BR_CCC,Gemeld_aan_Team_E-business].change()}>0)
or
({TRIGGER.VALUE}=1 and {Sonic Productie FT2:queue.messages.Count[ctBR_CCC,BR_CCC,Gemeld_aan_Team_E-business].change()}=0)
Any help on this?
Thanks in advance!
Comment