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

File Age of Files with specific Extension

Votes:

0

Hello guys,

i want to monitor the age of files with a specific extension.

Inside "folder01" is a file named "file01.bla" and a file named "file02.fuu". I only want to monitor the age of "file01.bla" because of the extension ".bla".

Is it possible to do this with the folder sensor or do i need a custom sensor?

file-age file-extension file-monitoring

Created on Feb 7, 2018 10:11:43 AM



5 Replies

Votes:

0

Hey Tortoc,

We have two different sensors which can do that. Please refer to the following links:

Best regards,
Sven

Created on Feb 7, 2018 10:35:40 AM by  Sven Roggenhofer [Paessler Technical Support]



Votes:

0

Hey,

maybe my question was not clear enough. Sorry for that.

I have two (or more) "types" of files in that folder. The types are distinguished by file extension. It could happen, that there is more then one file with ".bla" extension and different file Types.

It seems to me, that the "WMI File Sensor" and the "File Sensor (SMB)" are only able to look at one specific file. I have to look after "the oldest out of a couple of files with extension ".bla" which must not be older than...". So it's more like a Folder Monitoring.

Best regards, Tortoc

Created on Feb 7, 2018 11:50:26 AM



Votes:

0

Tortoc,

We do not have the ability to select a group of specific files when monitoring. We do have a Folder sensor, but it will look at all files in the folder, and not just single ones or specific ones.

Created on Feb 8, 2018 4:59:48 AM by  Benjamin Day [Paessler Support] (1,441) 2 1



Votes:

0

Hi,

no further suggestions how to do this? Is it possible for you guys to implement this in a upcoming release of PRTG?

This is such i simple task. We programmed this years ago in VB6 and now just want to add this to our PRTG.

Created on Feb 8, 2018 6:23:32 AM



Votes:

0

Hey Tortoc,

Actually, we do not have any native sensor which fully covers your request.

However, you might be able to achieve this by using our Custom/EXE sensor and your own custom script (e.g. PowerShell) which looks for the the oldest out of a couple of files with extension ".bla".

Kindly note that we cannot support you in writing such a script.

Best regards,
Sven

Created on Feb 8, 2018 6:36:01 AM by  Sven Roggenhofer [Paessler Technical 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.