|
View previous topic :: View next topic |
Author |
Message |
jfreude
Joined: 19 Oct 2004 Posts: 27
|
Posted: Fri Feb 04, 2005 2:12 am Post subject: Checking Diag-Files |
|
|
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 |
|
Back to top |
|
|
timn
Joined: 20 Nov 2003 Posts: 184 Location: United States
|
Posted: Fri Feb 04, 2005 7:39 am Post subject: |
|
|
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) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|