Hi.
I have a small problem of checking file changing. I try to check abend.log file on NetWare systems. It was used Text Log test for this. But for remote servers with low connection this test may lock file for changing while checking. This is why i cant use File Integrity test too. File Availability test have limitations for file time modifications but it will not alert if file was changed while it doesn't have access to server. In File Size test i must manually change parameter of file size after changing file. Is it possible to check file size or file date and time modification where alert will be executed if %Reply% not equal %LastReply%?
Thanks.
File change test.
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: File change test.
You may setup a dependant test, that depends on expresion, like: ('::Parent_Test_Name::%Reply%'<>'::Parent_Test_Name::%LastReply%')Dubolomov wrote:Is it possible to check file size or file date and time modification where alert will be executed if %Reply% not equal %LastReply%?
http://www.ks-soft.net/hostmon.eng/mfra ... htm#Master
Actually, I do not think, it is a good idea to change file size manually. I think, you may use "Schell Script" test method to figure it out. However, you should write appropriate script. You may use "dir filename" command to get information about certain file and parse it using "for " command. Also script should write "file size" into temporary file, and retrieve this information to compare with current file size on tne next iteration. You may try to write such script by yourself, in case you will fail, I may assist you. http://www.ks-soft.net/hostmon.eng/mfra ... m#chkShell
Regards,
Max