v-zhuravlev / zbx_mqtt

Zabbix MQTT integration, featuring bulk MQTT topics collection using wildcards, data validation, and data discovery using JS preprocessing. Currently tested with wirenboard controllers
6 stars 3 forks source link

Storing data in variable #2

Open s3m1s0n1c opened 1 year ago

s3m1s0n1c commented 1 year ago

I'm having issues where i'm not getting data consistently from mqtt so when I run the script I get {} then if i keep running the script I'll get data then {} again..

This really messes the graphs..

Is there a way you can store good data so that when script runs.. it gets the last good data and when new data comes it gets overwritten..

See example below image

Thanks Sonic