Hi,
manual says that i can use user defined variables for file/folder availability test. I want to look for a special file (filename ist stored in udv_inputfilename) but all i can use are date macros. I always get bad results even when I insert a file.
Configuration:
Alert when file doesn't exist.
Performed by Hostmonitor v6.80
Variable: udv_inputfilename (=da20070509123456.xml)
Path: D:\temp\backup\input\files\%udv_inputfilename%
What went wrong?
Regards
sabine
udv_variables
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: udv_variables
So, you have stored file name da20070509123456.xml into %udv_inputfilename% variable, right? Or you have stored template, like da%yyyymmdd%123456.xml ? Have you enabled "Translate macros" option for the "File Availability" test method? Sorry, I could not reproduce the proble. Everything works fine in our environment. Could you provide Remote Desktop or VNC access to the system, where HostMonitor is running?sabine wrote:Variable: udv_inputfilename (=da20070509123456.xml)
Path: D:\temp\backup\input\files\%udv_inputfilename%
P.S. If you setup udv_inputfilename using "User Defined Variables" Window (menu "Profiles" -> "Global Macro Variables"), you should remove "=" sign from "=da20070509123456.xml". Just type "da20070509123456.xml". Please note, you are using template for the yesterday date.
Regards,
Max
Hi,
i get this filename from a former test and defined it in menu "profiles" -> "global macro variables" like: %::DA_Input_File_Exists::FileName%. This works fine for all other macro variables i use.
Is it possible that the problem ist the DA_Input_File_Exists Test? It is located in an other folder.
Sorry, I can't give you remote controll, the Hostmon PC is placed in High Secure Network of our Comp.
regards
sabine
i get this filename from a former test and defined it in menu "profiles" -> "global macro variables" like: %::DA_Input_File_Exists::FileName%. This works fine for all other macro variables i use.
Is it possible that the problem ist the DA_Input_File_Exists Test? It is located in an other folder.
Sorry, I can't give you remote controll, the Hostmon PC is placed in High Secure Network of our Comp.
regards
sabine
We need to monitor a full automated file transaktion between several computers (at night).
We don't know how the file is named, so it's easier for us to store the filename in a variable to trace every move/copy process of the file.
Is it possible to add udv_variables as results from other tests to File Availability Test of Hostmon in next version?
I think that would be a good idea.
regards,
sabine
We don't know how the file is named, so it's easier for us to store the filename in a variable to trace every move/copy process of the file.
Is it possible to add udv_variables as results from other tests to File Availability Test of Hostmon in next version?
I think that would be a good idea.
regards,
sabine