Scans text files for changes since the last interval. After the first interval, an event is raised if the number of lines matching the search criteria exceeds the threshold. Set Literal Match to "y" for an exact match to the Find string.

This knowledge script was designed to allow the scanning of files that change names. In particular some log files will change name according to the current date. Below is an explanation of how to use this function within the script.

The idea is that if you want a date to make up part of the file name, you use a % where the date should be.

So for a file called abc26062002.log, the file name should be abc%.log and the pattern should be ddmmyyy

The pattern must be something that is valid in vb - which there are a lot of valid variations.

ddmmyyy - ie 02062002
ddmmmmyy - ie 02JUN2002

and so on.

NetIQ does not test or validate any software, code or other materials provided in, on or through NetIQ Cool Solutions (collectively, "Materials"), so please use caution when downloading or accessing any Materials from Cool Solutions and ensure that you have reasonable and current security, spyware and anti-virus measures in place on your computer and/or network prior to downloading. Additionally, do not use any Materials downloaded from Cool Solutions in any production environment without first testing the Materials to ensure they are compatible with your version of NetIQ software or any other hardware or software present in your network or environment. Cool Solutions is not a substitute for authorized NetIQ support and should not be used as such. NETIQ COOL SOLUTIONS AND ANY MATERIALS ARE PROVIDED ON AN AS-IS, AS-AVAILABLE BASIS WITHOUT ANY WARRANTY OF ANY KIND. By downloading this file, you are agreeing to these terms of use. To report a problem please contact: Your use of Cool Solutions is governed by the Cool Solutions Terms and Conditions.


How To-Best Practice
Comment List