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 values from log files

Votes:

0

Your Vote:

Up

Down

Hello,

I would like to use PRTG to check if there are certain entries in a log file (.log) within a fixed time period.

The log look like this:

11.01.2022;13:21:43;P8GR;12345678;VALUE 2;SDS;LIP;
11.01.2022;13:25:30;P8GR;12345678;VALUE 2;SDS;LIP;
11.01.2022;13:27:32;P8GR;12345678;VALUE 1;SDS;LIP;
11.01.2022;13:29:42;P8GR;12345678;VALUE 2;SDS;LIP;
11.01.2022;13:30:13;P8GR;12345678;VALUE 2;SDS;LIP;
11.01.2022;13:31:10;P8GR;12345678;VALUE 1;SDS;LIP;
11.01.2022;13:31:43;P8GR;12345678;VALUE 2;SDS;LIP;

I want to check if a log entry with the "Value 1" was written within one hour. If not, PRTG should report an error.

Does anyone have an idea how I can realize this?

Thanks a lot Best regards Dennis

file log prtg

Created on Jan 11, 2022 2:09:52 PM by  optidk (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hi Dennis,

The File Content Sensor is able to search after a specific string in a file. Maybe also this KB article fits your needs.


Kind regards

Felix Wiesneth - Team Tech Support

Created on Jan 12, 2022 5:59:09 AM by  Felix Wiesneth [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.