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


Monitoring a file with a changing name

Votes:

0

Your Vote:

Up

Down

Everyday we get some copies of the production database for our development environment. The name of the copy is the type of backup + timestamp. (example: PRD_backup_201010042130.DBB) This means that the name of the file is/should be changing every day. Because the backup copy action sometimes fails, I would like to monitor the file, so I can sent an alarm notification to the dba if the copy fails and it would be nice to collect some statistics to see how often it goes wrong. The problem is that I don't know how to monitor a file with a changing name. Is it possible to use wildcards in some way? Is there a custom sensor that allows me to monitor files with changing names or could someone help me with a wmi script if that is even possible?

Thanks in advance!

backup-file changing-name file file-monitoring file-sensor

Created on Oct 6, 2010 9:13:48 AM by  Brian (0) 1



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

Hallo,

create a folder sensor that monitors the folder the file goes into.

Mack the channel Newest File your primary channel.

go to channels and enable limits for that channel and edit the limits in that way that it is an error if the newest file is older than one day.

Or let the sensor enter a warning state after one day and an error state after 1,5 days

Then go to the notifications tab and your state triggers.

Created on Oct 6, 2010 10:57:17 AM by  Aurelio Lombardi [Paessler Support]



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.