View previous topic :: View next topic |
Author |
Message |
timn
Joined: 20 Nov 2003 Posts: 184 Location: United States
|
Posted: Tue Mar 01, 2005 4:43 pm Post subject: Text File test with Unicode text? |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Mar 01, 2005 8:45 pm Post subject: |
|
|
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 |
|
|
timn
Joined: 20 Nov 2003 Posts: 184 Location: United States
|
Posted: Wed Mar 02, 2005 7:24 am Post subject: |
|
|
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 |
|
|
brox
Joined: 23 Apr 2009 Posts: 5 Location: UK
|
Posted: Thu Apr 23, 2009 8:09 am Post subject: |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Apr 23, 2009 8:36 am Post subject: |
|
|
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 |
|
|
brox
Joined: 23 Apr 2009 Posts: 5 Location: UK
|
Posted: Thu Apr 23, 2009 9:15 am Post subject: |
|
|
Many thanks for the speedy response Alex...
roll on 8.5..... |
|
Back to top |
|
|
johnm
Joined: 01 Apr 2005 Posts: 117
|
Posted: Sat Oct 17, 2009 6:45 am Post subject: Unicode Status |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Sat Oct 17, 2009 12:44 pm Post subject: |
|
|
This option implemented in version 8.28. Its not available for download yet.
Regards
Alex |
|
Back to top |
|
|
|