Cheshire Cat Computing

Software support and information
It is currently Sun Nov 18, 2018 3:50 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Version 1.7.0a released
PostPosted: Thu Dec 08, 2005 4:43 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Version 1.7.0a is now availible. This fixes the problem with the EventID filter, and also with displaying the Eventlog messages generated by this application.

(Still awaiting confirmation from users as to fixing of EventID problem)

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sat Dec 10, 2005 10:23 am 
Offline
User

Joined: Sat Dec 10, 2005 10:18 am
Posts: 8
Location: Bermuda
I installed to 7a to Win 2000 sp 3. When I try to run NagEvLogCtrl.exe, I get a pop up error saying it cannot find msvcr70.dll. Can you include that and plop it into the c:\program files\monitoring directory?


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sat Dec 10, 2005 10:29 am 
Offline
User

Joined: Sat Dec 10, 2005 10:18 am
Posts: 8
Location: Bermuda
It has been a while since I've done this, but I _think_ that if you do a static link rather than a dynamic link, it may put everything into the .exe for you. It makes it a bit bigger, but I think, in the end, if solves these missing file problems.


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sun Dec 11, 2005 10:50 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
you are right about the staic vs dynamic linking, but there's a reason for the dynamic linking, and it's the huge size and memory footprint. It would be much easier if Microsoft just had their compiler TELL you which libraries it needs, but that would be too simple...

I will add msvcr70 to the library, it already holds msvcr.dll but that is probably the v6.0 one. [Edit: this is now done in v1.7.0b]

Steve

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Last edited by stevesh on Wed Dec 14, 2005 11:04 am, edited 1 time in total.

Top
 Profile Send private message  
 
PostPosted: Tue Dec 13, 2005 8:28 pm 
Offline
Silver User

Joined: Wed May 11, 2005 10:29 pm
Posts: 31
Location: Finland
stevesh wrote:
Version 1.7.0a is now availible. This fixes the problem with the EventID filter, and also with displaying the Eventlog messages generated by this application.

(Still awaiting confirmation from users as to fixing of EventID problem)


Ok. This looks good. Have tested 1.7.0b on several servers and everything I have checked with the not id box is filtered out. And the debug output verifies this.

Thank you very much! I will now install this version an all our servers to be monitored by nagios.

_________________
--
<b>Tony Lindström</b>
System Specialist, RHCE
<b>Tekla Oyj</b>


Top
 Profile Send private message  
 
PostPosted: Mon Dec 19, 2005 8:24 pm 
Offline
Silver User

Joined: Wed May 11, 2005 10:29 pm
Posts: 31
Location: Finland
tonyk wrote:

Ok. This looks good. Have tested 1.7.0b on several servers and everything I have checked with the not id box is filtered out. And the debug output verifies this.

Thank you very much! I will now install this version an all our servers to be monitored by nagios.


Well it almost work. This is not a big problem, but it seems that the Event ID 0 is not triggered even if you have it as a Not ID. I have now filtered them out with a regexp filter.

And I still have a feature request, which is a restart button. It is not a problem to click two times. No. The problem is, that sometimes when you click the stop button it doesn't stop immidiately. And when you are tired of waiting, you go on doing something else. And then you forget to start it again.

_________________
--
<b>Tony Lindström</b>
System Specialist, RHCE
<b>Tekla Oyj</b>


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue Dec 20, 2005 9:19 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Please, post *all* the details of the message that was not filtered when it should be, and the filter that should have caught it. I have run many many tests here and (since the recent version) they all work. The problem back in 1.6 was due to Categories (the eventID was not matched unless category was None) but that is now corrected and tested OK. I need to know if it is the NOT flag failing, the match list failing (due to some other message parameter?), or just the message being caught by a different filter (Debug mode will tell you this)

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Wed Dec 21, 2005 2:47 am 
Offline
Silver User

Joined: Wed May 11, 2005 10:29 pm
Posts: 31
Location: Finland
stevesh wrote:
Please, post *all* the details of the message that was not filtered when it should be, and the filter that should have caught it. I have run many many tests here and (since the recent version) they all work. The problem back in 1.6 was due to Categories (the eventID was not matched unless category was None) but that is now corrected and tested OK. I need to know if it is the NOT flag failing, the match list failing (due to some other message parameter?), or just the message being caught by a different filter (Debug mode will tell you this)


Ok. Here we go:

There are actually two not filtered items. The filter is a Not ID:
0,103,17055,34200
The events are both Source: MMMCRM Connector and Category: None

<b>The events:</b>
--
The import at 12/20/2005 8:25:57 AM was skipped, due to one or more errors from the MMM side.
------------------------------
------------------------------
MMM Config: xxxxx@xxxx, xxxxxx, http://emailserver2.com
MSCRM Config: xxxx, xxxxxx, http://xxxx,xxx.xxx.xxx


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

---


Error source: System.Web.Services
Description:
The operation has timed-out.
------------------------------
MMM Config: xxxxx@xxxx, xxxxxx, http://emailserver2.com
MSCRM Config: xxxx, xxxxxx, http://xxxx,xxx.xxx.xxx

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
--

<b>And here are the debug events...</b>

Reading Application event log...
--
Checking 0 against ID list (length 3).
--
NSCA: 1 data packet(s) sent to host successfully.
--
Sent NSCA notification to nagios.tekla.fi:5667
Service [Event Errors], status 2
Message: Application [error] [mmmcrm connector #0]: Error source: System.Web.Services Description: The operation has timed-out. ------------------------------ MMM Config: xxx xxx2xxx, http://xxxx.com MSCRM Conf xxx xxxx , http://USCRM, tekl
--
Filter matching (Application Log)
--
Caught an event and sent it on (Src=mmmcrm connector).
--
Matching filter was 'Application Log'
--
Checking 0 against ID list (length 3).
--
NSCA: 1 data packet(s) sent to host successfully.
--
Sent NSCA notification to nagios.tekla.fi:5667
Service [Event Errors], status 2
Message: Application [error] [mmmcrm connector #0]: The import at 12/20/2005 8:25:57 AM was skipped, due to one or more errors from the MMM side. ------------------------------ ------------------------------ MMM Config: xxxx@xxxx, http:/xxxxxx.com

--
Filter matching (Application Log)
--
Caught an event and sent it on (Src=mmmcrm connector).
--
Matching filter was 'Application Log'

<i>BTW. If someone knows how to correct this crm-error that would be nice to ;-) </i>

_________________
--
<b>Tony Lindström</b>
System Specialist, RHCE
<b>Tekla Oyj</b>


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Wed Dec 21, 2005 12:57 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Event ID 0? This may be the problem, I have not seen an ID 0 event before, and didn't think they were possible (I have a UNIX background, not a Windows background).

I will check the code to see if I am using any !=0 tests on the eventID.

The logs show that the list is being parsed as 3 items, so it looks very much as if the initial 0 in the eventID list is being ignored by the code (I use atoi()). It may well be that I'm using >0 as a test for valid eventIDs in the parsed list... I dont have the code to hand now to check, though.

Thanks for this detailed test output, it makes it much easier to spot things

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Wed Dec 21, 2005 2:03 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
This was indeed the case -- the program ignores eventID 0 in the filters as it believes (as I previously thought) that eventIDs must be between 1 and 65535 inclusive.

I will post a v1.7.2 shortly which allows EventIDs to be zero. Sorry for my mistake here...

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 4 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group