Hello guys. Could you please help me on this case ?
I added an userparameter to call my local script with key "node.log". This script will check log file and show its content. If there is no new file, Script will not show anything.
Then, I created item with that key to show content the log file with Update interval = 30s.
As my script will show the new file only, so if there is no new log file, there is empty record in Lastest data / History.

My question is : Can I remove these empty records ? Or Can we skip check if there is no new log file ?
I am using Zabbix 3.4 with Centos 7.4
I added an userparameter to call my local script with key "node.log". This script will check log file and show its content. If there is no new file, Script will not show anything.
Then, I created item with that key to show content the log file with Update interval = 30s.
As my script will show the new file only, so if there is no new log file, there is empty record in Lastest data / History.
My question is : Can I remove these empty records ? Or Can we skip check if there is no new log file ?
I am using Zabbix 3.4 with Centos 7.4
Comment