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 sensor using wildcards in the name

Votes:

0

I need to monitor a directory for incoming files which are received as yyyy-mm-dd-hh-mm-ss.txt, each filename received is unique. Once they are processed the extension changes to .txt.OK, usually within a few seconds. Would like to set the file senor to look for the filename as *.txt, then trigger an alert is one was found. Is it possible to use a wildcard (i.e. * or %) in the file name under settings?

file filename wildcard

Created on Dec 13, 2018 4:04:56 PM



2 Replies

Votes:

0

Hi,

The NetworkFileCount sensor can help you out here.

From the parameter section:

-s=	 Optional the search pattern to be used (i.e. *.txt). 

Sensors | Multi Channel Sensors | Tools | Notifications

Kind regards,
PRTGToolsFamily

Created on Dec 14, 2018 11:06:22 AM



Votes:

0

Thanks for chiming in, Gerard! :)

P.S.: Looks like we're signature twins! ;)


PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team

Created on Dec 14, 2018 11:39:13 AM by  Stephan Linke [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.