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

Monitroing Logfiles

Votes:

0

Hey guys,

I want to monitor a log file of an application. The application writes an continues log.

I tried to use the file content sensor, but it will always stay on "warning", because the log won't change the occurrence of the keyword. So what I would like to have is the following scenario:

1. Keyword appears --> "warning status" 2. Admin looks it ups/fixes the application and confirms the "Warning" 3. Sensor only searches for the new occurrences

The problem with the standard solution is, that it will always bring up the old entrys.

Thanks in advance :)

custom-sensor file-content-sensor sensor

Created on Jan 29, 2014 9:38:06 AM



3 Replies

Votes:

0

Hello,

thank you very much for your KB-Post. I'm very sorry, the File Content sensor is not able to 'acknowledge' known occurrences of the keyword. Please either delete teh logfile after such an incident, or please try using a self-written script, running as a Custom Script/Exe Sensor.

best regards.

Created on Jan 29, 2014 3:36:53 PM by  Torsten Lindner [Paessler Support]



Votes:

0

Thank you for your reply.

Is there any chance that I am able to "stop" the sensor if a keyword occurs?

Created on Jan 29, 2014 4:28:22 PM



Votes:

0

Sorry, no it's not possible to stop the sensor at a certain point in the file.

Created on Jan 29, 2014 4:33:04 PM by  Torsten Lindner [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.