Hello,
we have an application that writes every 5 minutes a diagnostic file in a folder. i want to check if there was written a new file within the last 5 minutes in this folder.
The filenames are like: Diag001.rmx Diag002.rmx ....
Is it possible to check this with HM ?
greets,
jfreude
Checking Diag-Files
Sounds like you want "Count Files" Test. Since files are written every 5 minutes, perhaps you want to alert if NO files exist that are NEWER than 5 minutes.
Or, do you need to search content of diag files?
We use "Count Files" test for two scenarios:
1. To make sure that a new SQL .BAK file exists in the proper folder each day. (A file must exists that is NEWER than 24 hours)
2. To make sure incoming transactions - represented by files in a folder -- get processed in a timely fashion (All files in folder must NOT be older than 2 hours)
Or, do you need to search content of diag files?
We use "Count Files" test for two scenarios:
1. To make sure that a new SQL .BAK file exists in the proper folder each day. (A file must exists that is NEWER than 24 hours)
2. To make sure incoming transactions - represented by files in a folder -- get processed in a timely fashion (All files in folder must NOT be older than 2 hours)