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
NT Event Log Test
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: NT Event Log Test
I would suggest you to enable "Repeat until status changes" option in "Action Properties" windows for the "Send email" action. Quote from the manual:Bulldog98 wrote:1. If previous status was "UP" and next days status is "UP" no email is sent.
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".
=================================
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?Bulldog98 wrote:2. Unreliable results, some days the event is not detected as being there even though it is.
Regards,
Max