View previous topic :: View next topic |
Author |
Message |
bhugh
Joined: 23 Jun 2002 Posts: 25
|
Posted: Tue Jun 25, 2002 8:29 am Post subject: |
|
|
I'm trying to use the compare files feature with a "File Contains String" option to search for a string in a log file for a database. I've used the UNC name and mapped directory to a local drive. When I run the monitor, it quickly goes to a bad status in either case. I can use an editor in the run window with the UNC name of the directory/file and bring up the file contents. I am running HostMonitor on Win2K against a NT 4 Server. Any ideas would be appreciated. |
|
Back to top |
|
|
Guest
|
Posted: Tue Jun 25, 2002 10:50 am Post subject: |
|
|
I may be wrong, but I thought a bad status indicated that the string actually exists in the file? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12817 Location: USA
|
Posted: Tue Jun 25, 2002 11:47 am Post subject: |
|
|
Yes, if you set "file contains string" option and file contains specified string, HostMonitor will mark test as "Bad". If you want to start alert actions when file does not contain string, use "file does not contain string" option.
Unfortunately from 1st message I do not understand does file contains specified string or does not.
Regards
Alex |
|
Back to top |
|
|
bhugh
Joined: 23 Jun 2002 Posts: 25
|
Posted: Tue Jun 25, 2002 1:02 pm Post subject: |
|
|
Talk about feeling stupid, yes, it is correctly working. It happened so fast, I thought it wasn't recognizing the file or doing the search for the string as the log file is quite large.
Great product!!
[ This Message was edited by: bhugh on 2002-06-25 13:03 ] |
|
Back to top |
|
|
|