Hello Everyone,
like the title states "The agent starts reading the log file from the point it stopped the previous time"
that is my problem....
I made a simple batch file that creates a log file with statistics of my machine. But instead of wasting my time with log rotation, my employer decided that we do not need any historical information about this .log file. However Zabbix does not "rereading" file and continues from where it is left off (end of the .log), as stated above.
The batch file simply deletes the old .log and replaces it with the new .log file, exact same text inside the file.
Anyway to get around it?
like the title states "The agent starts reading the log file from the point it stopped the previous time"
that is my problem....
I made a simple batch file that creates a log file with statistics of my machine. But instead of wasting my time with log rotation, my employer decided that we do not need any historical information about this .log file. However Zabbix does not "rereading" file and continues from where it is left off (end of the .log), as stated above.
The batch file simply deletes the old .log and replaces it with the new .log file, exact same text inside the file.
Anyway to get around it?
Comment