Hey there,
since a few days, it seems as if Zabbix' actions are not executed, when a trigger is fired.
An example:
I am monitoring the maintenance kits of our printers. One trigger is fired when the kit is low, one is fired when it should be replaced. At the moment, one of the maintenance kits should be replaced - and both triggers are fired, as excepted.
For both triggers, I have set up an action with the following conditions:
A) trigger = "maintenance kit low"
AND
B) trigger value = "PROBLEM"
The desired action operation is, that Zabbix sends an email to me.
According to the monitoring dashboard (and my mailbox), the actions were not executed respectively no email was sent.
Another example:
For every printer, I set up an item which monitors the remaining capacity of the toner cartridge. If the value changes for >5000, Zabbix assumes, that the cartridge was changed and fires the trigger "toner was changed".
I also set up an action: if the trigger "toner was changed" is fired and the value is "PROBLEM", I want to get an email - but this email is never sent.
I use Zabbix 1.8.2. Any ideas, how I could fix this problem?
Best regards,
Jimini
Edit: I set an action, which reacts on EVERY trigger. Sending a mail and executing a script worked well so long, so I guess I have to wait some time to find out, which events are leading to an action and which are not.
Edit2: it seems as if I could solve the problem. The trigger, which was selected as a condition for the action, pointed to a single trigger on one host. I thought, that the whole template whould have been selected. So I selected the template's trigger as the condition for the action and now it seems to work.
since a few days, it seems as if Zabbix' actions are not executed, when a trigger is fired.
An example:
I am monitoring the maintenance kits of our printers. One trigger is fired when the kit is low, one is fired when it should be replaced. At the moment, one of the maintenance kits should be replaced - and both triggers are fired, as excepted.
For both triggers, I have set up an action with the following conditions:
A) trigger = "maintenance kit low"
AND
B) trigger value = "PROBLEM"
The desired action operation is, that Zabbix sends an email to me.
According to the monitoring dashboard (and my mailbox), the actions were not executed respectively no email was sent.
Another example:
For every printer, I set up an item which monitors the remaining capacity of the toner cartridge. If the value changes for >5000, Zabbix assumes, that the cartridge was changed and fires the trigger "toner was changed".
I also set up an action: if the trigger "toner was changed" is fired and the value is "PROBLEM", I want to get an email - but this email is never sent.
I use Zabbix 1.8.2. Any ideas, how I could fix this problem?
Best regards,
Jimini
Edit: I set an action, which reacts on EVERY trigger. Sending a mail and executing a script worked well so long, so I guess I have to wait some time to find out, which events are leading to an action and which are not.
Edit2: it seems as if I could solve the problem. The trigger, which was selected as a condition for the action, pointed to a single trigger on one host. I thought, that the whole template whould have been selected. So I selected the template's trigger as the condition for the action and now it seems to work.