What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
300.000 administrators have chosen PRTG to monitor their network. 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

Votes:

0

Your Vote:

Up

Down

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 by  Sortimo_Hartmann (10) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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.

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]



Please log in or register to enter your reply.


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.