Checking Diag-Files

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
jfreude
Posts: 27
Joined: Tue Oct 19, 2004 7:14 am

Checking Diag-Files

Post by jfreude »

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
timn
Posts: 184
Joined: Thu Nov 20, 2003 9:57 am
Location: United States

Post by timn »

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)
Post Reply