Hi, we would like to check logfiles on a Linux server for keywords (like error). Are there possibilities for this or has someone already written a script for this?
Thanks in advance.
With best regards, Dennis Hartmann
Modified on 2025-06-10 15:18:59 +0200
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Hi, we would like to check logfiles on a Linux server for keywords (like error). Are there possibilities for this or has someone already written a script for this?
Thanks in advance.
With best regards, Dennis Hartmann
Hello,
Thank you for your message.
If the log files are available via the network (with Samba for example) then you can use the File Content sensor to monitor them. Otherwise, you can effectively execute a script with one of the SSH Script sensor :
If you have further questions, let us know.
Kind regards.
Nov, 2020 - Permalink