-
Change Request
-
Resolution: Unresolved
-
Medium
-
None
-
5.2.0
-
None
-
Zabbix 5.2.0 on CentOS 8
Hi
I'm starting to make use of the new MQTT Item Type, and hitting an issue.
I'm using an MQTT to both populate a list for LLD to use to make individual items to monitor, as well as (obviously) to monitor items.
I have some items that are only emitted once a day or less...
Current behavior is to pull in retained items when either the MQTT Server is restarted or when Zabbix is restarted. This works great for my MQTT item that populates the LLD list, as it should see everything recent/retained and create an item for it.
But for the MQTT item that feeds the individual items, pulling in the retained items has the negative side effect that I cannot detect if an item has been published recently or not... that is, the nodata() will get reset every time Zabbix re-established a connection with the MQTT server... So my "heartbeat" item that is only published 1x/day appears to be more recent than it truly is.
It would be great if the mqtt[] key had an "ignore-retained" (or a "include-retained") flag so that the re-starts/re-connects didnt reset the timing on everything.
Thanks