Problems with textlog test

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
sebastien
Posts: 2
Joined: Wed Aug 09, 2006 3:38 am

Problems with textlog test

Post by sebastien »

Hello,

I had setup some textlog tests which look for a string and warn for the last new event.
the first test is scheduled every 10 min 24/24. The last night, the new string occurs but no alert was given. In fact, here is the progress of the events:
- 10:50pm hostmonitor tests the log
- 10:56pm the string occurs
- 11:00pm hostmonitor NT service stopped
- 11:05pm hostmonitor NT service started
- 11:05pm hostmonitor tests the log but returns no error

In this case, why after the service restart, the test didn't see anything?

The second test is scheduled on time a week at 8:00am. here is the progress of the events:
- 2:00am the log is generated
- 4:14am the string occurs
- 7:45am hostmonitor NT service stopped
- 7:50am hostmonitor NT service started
- 8:00am the test runs but no error is returned

It's seems to be the same things than before: the test didn't see anything after the service restart.
Is there a parameter to be setting up for a good result?

Regards,
Sebastien
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: Problems with textlog test

Post by KS-Soft Europe »

Quote from manual: http://www.ks-soft.net/hostmon.eng/mfra ... tm#textlog
======================
This test is useful when you need to check log files created by another application. Unlike "Compare Files" test that warns you when any part of a file contains some specific string the Text Log test warns you only when the string is found in a NEW record. It means that if log file already has "bad' records when you started HostMonitor, you will not receive any alerts; but if any new "bad" record will be added to the log file while HostMonitor is running, you will receive a warning about the new problem. So the Text Log test works like NT Event Log test but it checks text files instead of NT Event Log Database.
======================

Or, probably, problem is you are not receiving notifications about all new events?
Most likelly you have not selected "Repeat: until status changes" option for the alert that is assigned to the test.
http://www.ks-soft.net/hostmon.eng/mfra ... properties


Regards,
Max
sebastien
Posts: 2
Joined: Wed Aug 09, 2006 3:38 am

Post by sebastien »

Thank you for your answer. It's more clear now. My problem is the stop/restart service between two tests.

Thanks,
Sébastien.
Post Reply