[Zenoss-dev] Re: Issues with 2.1.70

Erik A. Dahl edahl at zenoss.com
Wed Jan 30 15:40:26 EST 2008


That's very strange the code to select the events hasn't changed in a  
long time... Here is the query:

        wql = """SELECT * FROM __InstanceCreationEvent where """\
                """TargetInstance ISA 'Win32_NTLogEvent' """\
                """and TargetInstance.EventType <= %d"""\
              % minSeverity


Can you try running the query and see what you get:

wmic -U administrator%PW //HOST "select eventtype from  
Win32_NTLogEvent where EventType <= 2"

Its the same where clause that we use to get events.  Maybe the  
problem is elsewhere... although its not jumping out for me.

-EAD


On Jan 30, 2008, at 10:52 AM, mgold wrote:

>
>>
>> 3) With 2.1.2 we had set the zWinEventlogMinSeverity to 3 for  
>> Windows servers. That way, we were no longer getting Informational  
>> logs. With 2.1.70, this seems to have stopped; we now get severity  
>> 2 events.
>>
>>
>
>
> We have installed from scratch twice from source with 2.1.70 but  
> still get this problem.
>> From our testing the zWinEventlogMinSeverity only collects eventlog  
>> entries at the specified level and not at the specified level and  
>> below
>
> ie
> if zWinEventlogMinSeverity = 2, when querying the eventlog it only  
> queries for that level instead of <=2  even though the debug levels  
> show <=2 in them.
>
> Means currently we don't get all the events we need which is quite a  
> problem for us.
>
>
>
>
> -------------------- m2f --------------------
>
> Read this topic online here:
> http://community.zenoss.com/forums/viewtopic.php?p=15923#15923
>
> -------------------- m2f --------------------
>
>
>
> _______________________________________________
> zenoss-dev mailing list
> zenoss-dev at zenoss.org
> http://lists.zenoss.org/mailman/listinfo/zenoss-dev

-EAD

Erik A. Dahl
Co-Founder and CTO, Zenoss Inc.
http://www.zenoss.com







More information about the zenoss-dev mailing list