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.
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

File monitoring for a file that changes names?

Votes:

0

Your Vote:

Up

Down

I'm trying to monitor for a file that auto populates in a certain folder where if it generates it goes into a DOWN state. The only problem is that the name changes based on the data generated. There is some consistency as the file always contains the word "BadXML" somewhere in the name. Can PRTG do this?

file-monitoring filename sensor

Created on May 22, 2018 4:26:10 PM by  MOMeara (1) 1



4 Replies

Votes:

0

Your Vote:

Up

Down

You could use the Folder sensor to monitor the parent folder.

There is a channel that tracks File Count for the folder. You can then turn on the option for "Trigger 'On Change' notification" in the sensor settings under "Monitor Folder Changes".

You can then add a Change Trigger to alert you to new changes to the folder. In this case, a new file was created.

Would this work for you?

Created on May 23, 2018 8:54:17 AM by  Benjamin Day [Paessler Support] (1,441) 2 1



Votes:

0

Your Vote:

Up

Down

Unfortunately not. Other files are generated in this folder, I just need one that monitors if a file with the phrase "BadXML" appears within.

Created on May 23, 2018 3:49:44 PM by  MOMeara (1) 1



Votes:

0

Your Vote:

Up

Down

Then no, in this case PRTG cannot parse for partial file names.

You would need to create a script that would look for this, and then feed the information to PRTG as a custom sensor.

Created on May 24, 2018 7:27:04 AM by  Benjamin Day [Paessler Support] (1,441) 2 1



Votes:

0

Your Vote:

Up

Down

Very well. I'll do that and initiate another question if I need it. Thank you.

Created on May 24, 2018 2:14:34 PM by  MOMeara (1) 1



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.