Ask a questionAsk a question
 

AnswerWMI Configuration Setting

  • Wednesday, November 04, 2009 6:44 PMjlozan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello........I'm having some issues with a WMI check.  Here is how I have it setup:

    Namespace:   Root\cimv2
    Class:   NetworkAdapterConfiguration
    Property:   DefaultIPGateway
    Where Clause:   ServiceName - 'VMXNET'

    For Validation: Equals 192.168.21.3
    and I have "report non-compliance event when this instance count fails" checked.

    I created two just to test it with - one checking for the correct gateway and one without the correct gateway and they both show up as failed with "instance count validation" failures in the reports.  Does this basically mean that it couldn't find the WMI entry at all?  Normally when DCM finds something, but it has the wrong entry (like a reg check), it will report back to me what the value was - not just say "instance count validation".

    Am I missing something?

    Here is a WMI entry that I have setup that IS working fine:

    Namespace:   Root\cimv2
    Class:    win32_service
    Property:   State
    Where clause:   name - 'CtxSecGwy'
    Validation:  Equals Running
    and "report non compliance...." is checked.

Answers

  • Wednesday, November 04, 2009 6:47 PMjlozan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Oh sh*t!  Just by looking at my post, I see that I forgot to precede the NetworkAdapterConfiguration class with "win32_" .  LOL - let me change that and see if it works now.  Unbelievable...

All Replies

  • Wednesday, November 04, 2009 6:47 PMjlozan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Oh sh*t!  Just by looking at my post, I see that I forgot to precede the NetworkAdapterConfiguration class with "win32_" .  LOL - let me change that and see if it works now.  Unbelievable...
  • Wednesday, November 04, 2009 8:51 PMjlozan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    ok, so that fixed it!  Sorry for the wasted thread :-)
    •