KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

event log monitoring exceptions do not work

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
hostmonitor@ibid.co.uk



Joined: 31 Mar 2005
Posts: 4

PostPosted: Thu Mar 31, 2005 2:33 pm    Post subject: event log monitoring exceptions do not work Reply with quote

I am running the latest version of Hostmonitor enterprise (after paying money to get the upgrade which I though would sort out this issue).

The problem is that our system event log records a 'battery charging' from our dell servers. This event is an error level event and as such hostmonitor captures it and sends out an SMS text message and email from an app we have written. The issue is that we do not need these events and they often wake me up in the middle of the night with the thought that something serious is wrong.

To help stop this I changed the event log conditions in the test to put in an 'except' and entered the event id of 4098. This in theory should ignore the event and not trigger an alert. It still sends the alerts out.

This is very frustrating. The event log distinctly shows the event id to be 4098 and that is the number we put in the exception list. Please help.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Mar 31, 2005 2:52 pm    Post subject: Reply with quote

Could you please provide test settings? E.g. you may export test into text file (menu File -> Export to text file -> Export selected test(s)) and copy&paste info into the post

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
hostmonitor@ibid.co.uk



Joined: 31 Mar 2005
Posts: 4

PostPosted: Fri Apr 01, 2005 3:50 am    Post subject: The tests scripts Reply with quote

Alex,
I have removed some of the entries for security reasons

;-----------------------------------------------------------------------------
;- HostMonitor`s export/import file -
;- Generated by HostMonitor at 01/04/2005 10:38:35 -
;- Source file: XXXXXX
;- Generation mode: Selected_Tests -
;-----------------------------------------------------------------------------


; ------- Test #01 -------


Method = NTLog
;--- Common properties ---
;DestFolder = Root\SQLSERVER\
Title = NTLog \\SQLSERVER: system
Comment = NTLog \\SQLSERVER:
RelatedURL =
ScheduleMode= Regular
Schedule =
Interval = 5
Alerts = SMS Alert Event Logs
ReverseAlert= No
UnknownIsBad= Yes
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
;--- Test specific properties ---
Computer = \\SQLSERVER
Log = System
Source =
Username = XXXXX
Password = XXXXX
CheckComp = Any
CheckType = AnyFromList
CheckID = AnyExceptList
CheckDescr = Any
CompList =
TypeList = Error
TypeList = Warning
TypeList = Failure audit
IDList = ^M4098^M
DescrList =
ReportMode = AllEvents

;-----------------------------------------------------------------------------
; Exported 1 tests
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Apr 01, 2005 1:01 pm    Post subject: Reply with quote

I just tested HostMonitor using your settings, it works correctly.
May be you have another "NT Event Log" test that sends alerts?

BTW I would recommend to use longer test interval when you check remote systems. If you have hundreds of tests (usual configuration) and all of them are performed every 5 sec, it may produce high network traffic.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
hostmonitor@ibid.co.uk



Joined: 31 Mar 2005
Posts: 4

PostPosted: Sun Apr 03, 2005 10:50 am    Post subject: Sorry but there are no others Reply with quote

Alex,
It is this test which is sending them out. The error only appears in the system log and this is the only test on the system log on that machine. I cant explain it. Weird.

I will cut down the sample time. Thanks for the advice.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Apr 04, 2005 8:06 pm    Post subject: Reply with quote

I checked filter's code, looks fine.
H'm... may be HostMonitor is running in service mode and you have used another instance (application) to change test settings? If service was not restarted it still using old test settings...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
hostmonitor@ibid.co.uk



Joined: 31 Mar 2005
Posts: 4

PostPosted: Tue Apr 05, 2005 4:46 am    Post subject: I will check Reply with quote

Alex,
I will check. It is running in service mode and the test export was taken from that instance of the running service (double click on service bar to open). I will stop and start the service anyway to see what happens.

One extra nice feature would be that for any event raised, a simple click and ignore setting would be useful. It would mean that as more events occur we can simply click the event logged in HM and say ignore in future and that would be much easier than having to set each test manually.

Another benefit would be a setting saying do not alert report duplicates. we have an app with 120 threads and when the db packs up we get 120 warnings in the app event log as each one fails. Because we want all unique events alerted we do not use first bad only. But we do not want 120 emails or SMSs. HM is brilliant as if our sql db cluster fails over the threads accessing it from the app pack up. The problem is that sql takes up to 60 seconds to fail over. So we set HM to count 40 thread failures and then restart the service and by then the cluster is back and everything just carries on. HM is a fantastic piece of software. And yes e know we could code the app to deal with loss of db but it was not a priority function over other work (as always).
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Apr 05, 2005 6:39 pm    Post subject: Reply with quote

Quote:
One extra nice feature would be that for any event raised, a simple click and ignore setting would be useful. It would mean that as more events occur we can simply click the event logged in HM and say ignore in future and that would be much easier than having to set each test manually.


Not sure it will be implemented but I have added your suggestion into "to do" list.

Quote:
Another benefit would be a setting saying do not alert report duplicates. we have an app with 120 threads and when the db packs up we get 120 warnings in the app event log as each one fails. Because we want all unique events alerted we do not use first bad only. But we do not want 120 emails or SMSs.


I think you may change "Condition to start action" from "standard" to "advanced" mode (Action Properties dialog) and use expression like ('%SimpleStatus%=='DOWN') and ('%Reply%'<>'%LastReply%')
http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#advancedaction
Also you should enable "Show events description in Reply field" option (Misc page in the Options dialog).

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index