File Check

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
KHeitz
Posts: 14
Joined: Thu Jan 27, 2011 8:02 am

File Check

Post by KHeitz »

Hi,

I wish to make about HostMonitor
I want to check daily whether a file is verhaden and larger than 70 MB.
This I can do with the Test Folder / File Availibility.
Now I have the following problem.
The file has a new name every day.

e.g.

backup20110502.7z or backup20110503.7z

I have already tested some parameters, but unfortunately without success.
I always get the message that the file exists, even if I change the file name to 1234.7z.

Does anyone have any idea how I could check it?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

File Check

Post by KS-Soft Europe »

What exactly test settings have you used for "Folder/File Availibility" test ?

If you want to check file size, I assume, you will need to use "Folder/File Size" test method.
HostMonitor provides file-specific variables.
E.g. you may use file path like:
D:\Logs\New\backup%yyyymmdd%.7z
or
D:\Logs\New\%yyyymm%\%NewestFile%

Please note: "Translate macros" option should be enabled.

Please check the manual or visit our web site for more information at:
http://www.ks-soft.net/hostmon.eng/mfra ... especmacro
Post Reply