Alert being processed after test comes back into schedule

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
mrfrosty
Posts: 21
Joined: Thu Feb 14, 2008 3:20 am

Alert being processed after test comes back into schedule

Post by mrfrosty »

Hi,

This is probably an easy one, I have a few tests that are not executed for an hour during the night (this is controlled via a schedule), as these tests would normally flag bad any other period during the day.

However my issue is that once the schedule is over and the tests are running again, the alerts are actioned straight away. Is there a way to ignore any warnings that were occurred during this "blackout"?

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

Post by KS-Soft Europe »

Could you provide more information, please? I do not completely understand your point. If tests were not performes at night, what actions may them send? I think, after schedule is over, HostMonitor performs test, test becomes "Bad" and HostMonitor send alerts on regular basis. It is a correct behavior, I suppose. Probably, you do mean somethig else? Do you have a schedule assigned to the tests or to the actions?

Regards,
Max
mrfrosty
Posts: 21
Joined: Thu Feb 14, 2008 3:20 am

Post by mrfrosty »

Max, Ill try and explain this a bit better.

I have a few tests configured that monitor services (via checking the event log for these conditions) on a number of servers, however at midnight daily some of the tests are automatically restarted via windows scheduled task.

To get around "false alerts" I have created an additional schedule which is configured not to not run (unchecked) between the times 23.58 and 12:05.

However at 12.05 when checking begins we get an alert to say the service went down, no matter how long I leave the time frame unchecked I get this alert.

So it looks like hostmonitor is still checking this service and only reporting the error when its allowed? Can this be stopped?

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

Post by KS-Soft »

I have a few tests configured that monitor services (via checking the event log for these conditions) on a number of servers, however at midnight daily some of the tests are automatically restarted via windows scheduled task.
So, you are using NT Event Log test method? If HostMonitor detects record that fits filter settings, it sets "Bad" status for test item.

Could you use Service test method to monitor health of the service? If you really need to use NT Event Log test and sometimes you want to ignore records, I see 3 possible solutions

1) Assign restricted scheduler to the actions, not to the test item. In such case HostMonitor will set "Bad" status for the test but actions will not be triggered between 23.58 and 12:05.

2) You may use "Execute HM Script" action with "ResetEventLogRefPoint <testname>" command. This action should be executed before test will be started at 12:05. You may use built-in Scheduler for this purpose (please take a look at Scheduler page in the Options dialog). E.g. you may start this action at 12:04

3) If you are using HostMonitor version 7.20+ and your services record some info into Event Log on each startup and shutdown, you may setup 2 filters: 1 for "bad" records and 1 for "good" records. If you set "Report about LAST bad/good event" option, HostMonitor will work in the way you want.

Rergards
Alex
Post Reply