Suggestion: output only the last values in the log file
Posted: Wed Jan 22, 2014 11:54 pm
Hello,
I would like to monitor CPU temp with zabbix, for which I use the last line from the log file. But the log file grows indefinitely. Could it be made an option to output only the last values in the log file (e.g. to overwrite log file every time)?
I would like to monitor CPU temp with zabbix, for which I use the last line from the log file. But the log file grows indefinitely. Could it be made an option to output only the last values in the log file (e.g. to overwrite log file every time)?