Hi,
I am planning to use the File Content sensor to tail an application's log file.
Unfortunately, when the file gets to certain size, it moves the file into a folder and append a increasing number to the name.
After it will create a new file with the same original(without number) name.
My question is, because of the interval (minimum 30 seconds), will data get lost in cases such as:
1. During the 30 seconds wait time, log is rolled over (backed up, new file created with the same name). If there's a new line per second we could lose 20+ lines?
2. A time window however minuscule, during the instant PRTG polls and log is rolled at the same time.
Does the sensor has some sort of mechanism to deal with the above scenarios? It doesn't seem (because of the intervals) that PRTG does not have constant real time handle on the file?
Thanks!
Add comment