Clear alerts after restart

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
wchildress
Posts: 23
Joined: Tue Oct 15, 2002 6:00 pm

Post by wchildress »

I've been having an issue with Hm crashing since 3.32. We thought that the 3.4 upgrade would hepl with the removal of the IE dependency. But, it hasn't. So, I need to clear alerts the restart. Everytime I restart it after a crash I get 4-5 messages which are no longer valid. Is there a way to clear the errors so that I don't receive the alerts?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Still crashing? As I remember you got some error message about perflib and PCAnyware? Did you try to disable Performance Counter tests (to check what test produces error)?

>Everytime I restart it after a crash I get 4-5 messages which are no longer valid

Do you mean HostMonitor sends messages about failed tests, crashes, and after restart HM sends some messages again? It sends messages again because doesn't know previous instance already sent messages.
I think the only way to avoid this messages is found why HostMonitor crashes. Do you setup tests those use 3rd party DLLs? Like ODBC test, MS SQL, Sybase, Oracle? I know you use Performance Counter test. Try to disable these tests. If these tests are important for you, you can create separate HML file without these tests and start second copy of HostMonitor for testing.

Regards
Alex
wchildress
Posts: 23
Joined: Tue Oct 15, 2002 6:00 pm

Post by wchildress »

I unistalled and reinstalled a new version of PCAnywhere and do not receive these errors any longer.

I'm not running any Performance counter tests. I run - ping, LDAP query, CPU usage, Oracle check, DNS query, SNMP ( memory check), URL request, folder/file availability, process check, POP3 test, services check, & event log.
- which do you suggest I disable first?

HM is started either initially or after a crash seems to send messages that were due to be sent at the last save of the .hml file.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Oracle and URL tests use 3rd party DLLs. If you use URL tests to check HTTP server, try to use HTTP test instead of URL (HTTP test does not use 3rd party DLLs). If you can, try to disable Oracle test. BTW Do you use ODBC logging to Oracle database?

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

Post by KS-Soft »

>HM is started either initially or after a crash seems to send messages that were due to be sent at the last save of the .hml file.

I am not sure I understand you. But, if I understand you correctly, mark "Store statistics in HML file" and "Store Recurrences in HML file" options (located on Preferences page in the Options dialog).

Let me explain some information about HostMonitor:
HostMonitor does not save any information about sended messages. It performs tests, if result of the test meets conditions specified in the alert profile, HostMonitor starts specified actions.
E.g. you setup HostMonitor to send e-mail when some test changes status from "Ok" to "Bad". If one instance of HostMonitor detects status changes, it send message. If you close HostMonitor and options mentioned above are enabled, HostMonitor save current status of the test. So, next instance of HostMonitor will not send message again because test already has "Bad" status. If options are disabled, next instance of HostMontor will change status of the test from "Not tested" to "Bad" and send message again. The same happens if HostMonitor crashed for some reason.
Hope I was clear enough.

Regards
Alex
Locked