Problem detecting string in a text file

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
Kapz
Posts: 216
Joined: Mon Dec 06, 2004 2:33 pm
Location: Denmark

Problem detecting string in a text file

Post by Kapz »

Hi !

HM 5.92 on Win2003 Standard:

I have a test using method "Compare Files" which should alert if a certain text file read by an RMA doesn't contain a certain string.
However it seems to fail no matter if the string is in fact represented in the text file.

The test is here:

Method = CompareFiles
;--- Common properties ---
;DestFolder = Root\DC Kunder\Dansk Kvalitets Vikar A/S\DKVTest02 (Oracle)\SystemState\
RMAgent = DKVTest02 (Oracle)
Title = DKVTest02 (Oracle) OracleDataDump Failed
Disabled = Yes
Comment =
RelatedURL =
ScheduleMode= Regular
Schedule = Mo-Su 1200-1201
Interval = 60
Alerts = Send SMS Mo-Su 1200-1201 til KJE (1 x Bad, Bad only)
ReverseAlert= No
UnknownIsBad= No
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
SyncCounters= Yes
SyncAlerts = No
DependsOn = list
MasterTest-Alive = DKVTest02 (Oracle) Port 3456 (RMA)
;--- Test specific properties ---
AlertMode = DoesntContainString
MissingCheck= Yes
UseMacros1 = No
UseMacros2 = No
File1 = D:\SystemMaintenance\bmssa.log
String = Export terminated succesfully without warnings
WholeWords = No
CaseSensitive = No

Any idea of what goes wrong (Should read: Where did I screw up ;) ) ?

Thanks in advance !

Kasper :O)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

May we see the file?

Regards
Alex
Kapz
Posts: 216
Joined: Mon Dec 06, 2004 2:33 pm
Location: Denmark

Post by Kapz »

Alex,

DOH - sorry, just found the bug myself. Couldn't spell "successfully" in my test. I'll just crawl back into my hole ... :roll:

Kasper :O)
Post Reply