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 an directory



I need a solution to check a directory that should be empty, max. after a time from 5 minutes. In that directory incoming files, a service polling the files and move the files to another location. If after 5 minutes are files in the folder we have a problem.

The question is, how I can monitor that directory? I found a ordner (its the german version of prtg)/directory-module, but I'm not sure if it is the correct solution for this problem. If yes - can I use local path (like c:\programfiles\blahblah) or I need allways UNC-Patch like

Is that the right module or is there a another soluion?

empty ordner prtg

Created on Jun 24, 2021 11:30:40 AM

2 Replies




Thank you for your post.

For this you can use our Folder Sensor. In the sensor you can use both a local and UNC path. The sensor monitors the number of files in the folder, and the age of the newest and oldest files. So in your case you have multiple options for how you want to configure the sensor.
You can set a limit that the oldest file should not be older than 5 minutes, in which case the sensor would go Down.
Or you can set a limit that the sensor goes Down if there are any files in the folder, and have the notification be sent only if the sensor spent 5 minutes in the Down state.

Kind regards,
Sasa Ignjatovic, Tech Support Team

Created on Jun 25, 2021 9:02:03 AM by  Sasa Ignjatovic [Paessler Support]



Thank you for your help. It doesn't work wit c:\directory - but It works with c$\direcorty ... In an another case I have problems with the access rights, but that is not a problem of PRTG.

Created on Jun 30, 2021 8:53:43 AM

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.