file contains string

Need new test, action, option? Post request here.
Post Reply
gdvl
Posts: 103
Joined: Thu Apr 04, 2002 6:00 pm
Location: Belgium
Contact:

file contains string

Post by gdvl »

I monitor for a specific string in a file. When the string is found, an alert is fired. In the next cycle, the string is still there.
Is it possible to keep a line or byte count to remember the position of the string so you can skip that part in the next cycle.
If HM is (re)started, start at the end of the file.

PS: I know you can solve this via external command alert action, rename or remove the file, etc ... but that's not the best solution for me. The logfiles are used by others too.


Regards,
Gdvl
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I have added this item into "do to" list

Regards
Alex
Post Reply