I want to create a dummy item and trigger as heartbeat that will cause an alert once a day. I will send all my alerts via media to a different medium and to still know that zabbix is running and is still able to send via this media configuration, I want to just send a dummy alert once a day.
I already created an item of type "calculated" that will just return "1" and will update once a day together with a trigger that checks if the last value is "1". This does work for generating an alert once a day but I also want to close it directly. The problem is that a recovery expression only works when the alert expression is false but since I only check if the last value is "1" this will never be not true. I tryed to also check for nodata inside the expression in hope that it will be updated to false after the minute I gave the nodata function but that doesn't seem to work eighter.
What else could I try to get this alert to auto close just after the alert was triggered? And yes, I need an trigger for that since I want the message appear on the same media channel as all the other regular alerts.
I already created an item of type "calculated" that will just return "1" and will update once a day together with a trigger that checks if the last value is "1". This does work for generating an alert once a day but I also want to close it directly. The problem is that a recovery expression only works when the alert expression is false but since I only check if the last value is "1" this will never be not true. I tryed to also check for nodata inside the expression in hope that it will be updated to false after the minute I gave the nodata function but that doesn't seem to work eighter.
What else could I try to get this alert to auto close just after the alert was triggered? And yes, I need an trigger for that since I want the message appear on the same media channel as all the other regular alerts.
Comment