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
Problems with textlog test
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: Problems with textlog test
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
======================
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