hi,
I have configured a trigger for a LOG item which executes an action script (sending notification via Pushover).
The trigger is configured, with nodata(30).
I have a second Item (trapper) with trigger, for a small shellscript, which lets the devops sending "enable" or "disable" via zabbix_sender.
Enable means = Execute all actions (sending Pushover messages) .... = OK
Disable means = We are doing our best, please don't spam us. = WARNING (so we don't forget to enable the alert messages)
Now I want:
Only execute the action (sending mail / Pushover), if trigger "Trigger Alert status" = enable (means 0 / OK)
That is, what I have.
Type of calculation: AND
A Maintenance status not in maintenance
B Trigger value = PROBLEM
C Trigger severity = Warning
D Trigger name not like Trigger Alert status
E Trigger = server.foo.local: Trigger WebApp Err=-5000
What ever I tried, it doesn't work. The action is executed
The reason: Our App sending also emergency mails, and to disable the mails, a file is touched. With the same script, I use the zabbix_sender. In that way, the devops doesn't need to be login into Zabbix and do anything else, but Zabbix.
All things works well, but not to disable temporally the action script, with the helper item/trapper.
Any suggestions?
I have configured a trigger for a LOG item which executes an action script (sending notification via Pushover).
The trigger is configured, with nodata(30).
I have a second Item (trapper) with trigger, for a small shellscript, which lets the devops sending "enable" or "disable" via zabbix_sender.
Enable means = Execute all actions (sending Pushover messages) .... = OK
Disable means = We are doing our best, please don't spam us. = WARNING (so we don't forget to enable the alert messages)
Now I want:
Only execute the action (sending mail / Pushover), if trigger "Trigger Alert status" = enable (means 0 / OK)
That is, what I have.
Type of calculation: AND
A Maintenance status not in maintenance
B Trigger value = PROBLEM
C Trigger severity = Warning
D Trigger name not like Trigger Alert status
E Trigger = server.foo.local: Trigger WebApp Err=-5000
What ever I tried, it doesn't work. The action is executed
The reason: Our App sending also emergency mails, and to disable the mails, a file is touched. With the same script, I use the zabbix_sender. In that way, the devops doesn't need to be login into Zabbix and do anything else, but Zabbix.
All things works well, but not to disable temporally the action script, with the helper item/trapper.
Any suggestions?
Comment