I have a business application that creates backup files into a directory. The names of the files increment and I keep several days worth. I want to set off an alarm if new files have not been created in 24hrs.
Because of the older files in the directory I can't get a FOLDER sensor to work. Because of the file name changing I can't get a FILE sensor to work.
Maybe I am doing something incorrectly. Is there a way I can make this work?
Mike
Article Comments
The Filenames Examples
Today: DMM[2435].4BL Yesterday: DMM[2434].4BL Day Before: DMM[2433].4BL
There are 7 days worth.
My goal is to make sure there is a file in the directory less than 24 hours old. If there is no new file, then send an alarm.
Thanks, Mike
Aug, 2015 - Permalink
Well you could setup the "Newest File" channel of the Folder sensor
Now you click the small gear for the "Newest File" channel and set the lower error limit to 84399 seconds. The sensor will then error everytime when there is no file younger than 24h in the folder :)
Aug, 2015 - Permalink
What are these backups named like and what exactly do you want to monitor about them? Plain existance? Age? Last Edited? :)
Aug, 2015 - Permalink