Hello all,
I'm using a standard log file monitoring item to extract a value from a log file (using regexp). The issue now is, that upon the next update interval the file will be read from the point it stopped before, and no new value will be extracted (the needed value is only sparsely listed). The item then shows an empty value on the latest data overview, and I must check the items history to view the actual last value.
So, I'm either looking for a way to retain the last actual value in case an empty value is extracted (just ignore the empty value), or for a way to force the check to reread the entire file again. Any ideas?
I'm using a standard log file monitoring item to extract a value from a log file (using regexp). The issue now is, that upon the next update interval the file will be read from the point it stopped before, and no new value will be extracted (the needed value is only sparsely listed). The item then shows an empty value on the latest data overview, and I must check the items history to view the actual last value.
So, I'm either looking for a way to retain the last actual value in case an empty value is extracted (just ignore the empty value), or for a way to force the check to reread the entire file again. Any ideas?
Comment