What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

Check log file for keywords



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

custom-sensor logs ssh-script

Created on Nov 27, 2020 10:46:02 AM

1 Reply




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.

Created on Nov 27, 2020 3:01:32 PM by  Florian Lesage [Paessler Support]

Last change on Nov 27, 2020 3:02:01 PM by  Florian Lesage [Paessler Support]

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.