KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Compare Files - File Contains String

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
bhugh



Joined: 23 Jun 2002
Posts: 25

PostPosted: Tue Jun 25, 2002 8:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Tue Jun 25, 2002 10:50 am    Post subject: Reply with quote

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: 10994
Location: USA

PostPosted: Tue Jun 25, 2002 11:47 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
bhugh



Joined: 23 Jun 2002
Posts: 25

PostPosted: Tue Jun 25, 2002 1:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index