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

Text File test with Unicode text?

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
timn



Joined: 20 Nov 2003
Posts: 184
Location: United States

PostPosted: Tue Mar 01, 2005 4:43 pm    Post subject: Text File test with Unicode text? Reply with quote

OK, so I admit to abusing certain HM tests. Still, can you see a way to do this?

I have a 'text' file - well, sorta. It's actually an event log file from a Dell OpenManage Array Manager application. Technically, it is a binary file but I've never let that stop me.....

The text that is written to the file is in Unicode and I want to monitor for new occurrances of string "A r r a y D i s k" - where the 'spaces' are actually chr$(00)

With a regular expression it would be something like:

A\x00r\x00r\x00a\x00y\x00\x20\x00D\x00i\x00s\x00k

Can Text File test be abused in a way that will work?

If I can detect this string I can catch predicted disk failures early. Thx
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Mar 01, 2005 8:45 pm    Post subject: Reply with quote

Text Log test method does not resolve strings like \x00...
H'm, probably I can add new option for "Look for" parameter:
- string
- expression
- binary string

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
timn



Joined: 20 Nov 2003
Posts: 184
Location: United States

PostPosted: Wed Mar 02, 2005 7:24 am    Post subject: Reply with quote

That would be great. The only possible issue I see is that current Text File test warns when the string is found in a NEW record. When the file is 'binary', determining what constitutes a new record might be a bit arbitrary.

If you want a sample copy of the log file, let me know.
Back to top
View user's profile Send private message
brox



Joined: 23 Apr 2009
Posts: 5
Location: UK

PostPosted: Thu Apr 23, 2009 8:09 am    Post subject: Reply with quote

Quote:
Text Log test method does not resolve strings like \x00...
H'm, probably I can add new option for "Look for" parameter:
- string
- expression
- binary string


We have 3 x Enterprise Licences for HostMonitor and I have just tried to get the text log function to work on a couple of apps that are generating UNICODE text log files (like the user above) and of course HostMonitor does not work with them I have found.
It works fine with regular ISO-8859 (8-bit) logs..

Do you have any plans to add the option to support Unicode logs/text files.
Would seem like a good idea
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Apr 23, 2009 8:36 am    Post subject: Reply with quote

Yes, we added some new option to Text Log test in version 8.00 (will be available soon) and we plan to add Unicode support (may be in version 8.50 )

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
brox



Joined: 23 Apr 2009
Posts: 5
Location: UK

PostPosted: Thu Apr 23, 2009 9:15 am    Post subject: Reply with quote

Many thanks for the speedy response Alex...
roll on 8.5.....
Back to top
View user's profile Send private message
johnm



Joined: 01 Apr 2005
Posts: 117

PostPosted: Sat Oct 17, 2009 6:45 am    Post subject: Unicode Status Reply with quote

I have licensed HM for a few years now but haven't upgraded recently due to license expiration. I am considering renewing my license in order to upgrade but want to make sure of the following:

I need to be able to check SQL server log files which are in Unicode and I know I cannot do this with version 7.x Does the current version support checking contents of a Unicode file now?

Thanks
John
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Sat Oct 17, 2009 12:44 pm    Post subject: Reply with quote

This option implemented in version 8.28. Its not available for download yet.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting 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