Hello,
I haven't found a built in check / item that allows monitoring logfiles. The requirement would be to check only entries that are newer than those in the previous check. (otherwise each logentry would be reported again and again)
Also, when using logrotate or a similar tools, this should be handled. I.e when the logfile rotates the check should not "stumble" but :
a) check the rotated "old" file for changes
b.) check the new file.
Is this possible with built in checks?
I haven't found a built in check / item that allows monitoring logfiles. The requirement would be to check only entries that are newer than those in the previous check. (otherwise each logentry would be reported again and again)
Also, when using logrotate or a similar tools, this should be handled. I.e when the logfile rotates the check should not "stumble" but :
a) check the rotated "old" file for changes
b.) check the new file.
Is this possible with built in checks?