New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

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

 

Top Tags


View all Tags


Check Modification Dates on Folder Entries

Votes:

0

Your Vote:

Up

Down

I'd like to create a sensor that does the following:

1: Checks a folder on a remote system. 2: Returns the number of files in that folder. 3: Returns the most recently altered date on the entries, or maybe even a list of dates/times of modified entries inside the folder.

Is there any "simple" way to do this?

folder prtg wmi

Created on May 6, 2015 5:16:46 PM by  arenfroe (10) 1



1 Reply

Votes:

6

Your Vote:

Up

Down

Hi,

The most simple way woud be to download the NetworkFileCount sensor from http://prtgtoolsfamily.com/downloads/sensors

This sensor returns the number of files available on a server\share.

Parameters:

 -f=	 The name of the folder that needs to be checked in a \\server\share format. 
 	 If the foldername contains white spaces, enter the foldername between " ". 
 -u=	 Optional the name of the user account that can access the share. 
 -p=	 Optional the password or passhash(*) of the user account that can access the share. 
 -t=	 Optional the minimum number of minutes a file has to be old before it is counted. 
 -s=	 Optional the search pattern to be used (i.e. *.txt). 
 -sub	 Optional switch to include subfolders. 
 -tiw	 Optional, in combination with the -t= parameter, creates a time window between the current time and xx minutes ago. 
 	 Only files created in that period are counted. 

Created on May 7, 2015 7:45:15 AM by  PRTG Tools Family [prtgtoolsfamily.com] (13,135) 3 4



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.