NT Event Log 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
Bulldog98
Posts: 23
Joined: Fri Sep 21, 2007 3:29 pm

NT Event Log Test

Post by Bulldog98 »

Hi,

I am trying to configure a test to check for a specific event within the application log once every 24 hours. If the event is found then I would like to send an email reporting that the status of the event is ok. If the event is not found then I would like to send an email reporting that the status of the event is bad.

Any ideas on how to achieve this? I have tried several configurations but I have been unable to get this to work reliably due to the following issues:

1. If previous status was "UP" and next days status is "UP" no email is sent.
2. Unreliable results, some days the event is not detected as being there even though it is.

a) My current configuration checks for "ALL" strings in the description.
b) Optional processing is configured as "Reverse Alert".
c) Irregular Schedule "Start Once a Day".
d) Action Profile "Bad" Status - Send Email "Status Bad"
e) Action Profile "Good" Status - Send Email "Status Ok"

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

Re: NT Event Log Test

Post by KS-Soft Europe »

Bulldog98 wrote:1. If previous status was "UP" and next days status is "UP" no email is sent.
I would suggest you to enable "Repeat until status changes" option in "Action Properties" windows for the "Send email" action. Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mfra ... properties
=================================
Repeat: N times; or until status changes
Defines the number of repeats of the action if the status of the test was not changed. For example if you want to send an e-mail to a network administrator only once when test status changes, set this parameter to 1. If you need to execute action every time when test failed, set this option to "until status changes".
=================================
Bulldog98 wrote:2. Unreliable results, some days the event is not detected as being there even though it is.
Your settings looks correct. Hm. We cannot reproduce such a behavior. Could you disable "All strings in a description" option and enable "Any text" under "Description contains" area? Just for testing?

Regards,
Max
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Bulldog98,

Could you please provide more information?
- HostMonitor version?
- Windows?
- Service Pack?

Regards
Alex
Post Reply