Text File test with Unicode text?

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
timn
Posts: 184
Joined: Thu Nov 20, 2003 9:57 am
Location: United States

Text File test with Unicode text?

Post by timn »

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 :o
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
timn
Posts: 184
Joined: Thu Nov 20, 2003 9:57 am
Location: United States

Post by timn »

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.
brox
Posts: 5
Joined: Thu Apr 23, 2009 8:05 am
Location: UK

Post by brox »

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 :)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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 :roll: )

Regards
Alex
brox
Posts: 5
Joined: Thu Apr 23, 2009 8:05 am
Location: UK

Post by brox »

Many thanks for the speedy response Alex... :)
roll on 8.5..... :roll:
johnm
Posts: 117
Joined: Fri Apr 01, 2005 9:49 pm

Unicode Status

Post by johnm »

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
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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

Regards
Alex
Post Reply