title: Zabbix: Last Line of a Textfile
body: <p>Has anyone a solution for my problem:</p>
  <p>We have a textfile which is always updated when a new error occurs.
  I want to monitor this text file in Zabbix. I have been looking for a solution for some time and have now managed this with vfs.file.contents[ErrorLog.log,ANSI].  But here always the whole logfile is read.</p>
  <p>Is there a way to read only the last line of a text file in Zabbix?
  Since the text file changes with each error I need only the last line.</p>
  <p>Thanks and greetings
  Kai</p>