none
WMI Class Reference for Dynamics CRM Performance Counters RRS feed

  • Question

  • Hello,

    I am trying to monitor a MS Dynamics CRM 2013 instance using the Performance Counters provided. 

    I will be writing VB Script to collect the performance counter data via WMI. 

    I couldn't find out the WMI class reference the Dynamics CRM 2013 performance counters.  

    What I meant was, some thing similar to the 'Windows Server Cluster' Object and Performance counter class, as given below.

    https://msdn.microsoft.com/en-us/library/aa965285%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

    Help me on this.

    Regards,

    Krishna.


    Wednesday, March 4, 2015 2:54 PM

Answers

All replies

  • 1) Not a SQL Server question.

    2) You don't need to write a scritpt to collect performance counters.  Just use Perfmon and create a Data Collector Set.

    3) If you do write a script, use PowerShell.

    David


    David http://blogs.msdn.com/b/dbrowne/

    Wednesday, March 4, 2015 3:09 PM
  • Hi David,

    Sorry for posting in the wrong forum. Will correct it in future.

    I can't use the Perfmon as I have a java application which will call the VB Script periodically to collect the data. I need to write both VB Script and Powershell scripts. I need to have the class reference to understand the data type of each attribute in a performance counter. For ex,

    The 'CRMAuthentication' counter has the following attributes. 

    1. Caption
    2. ClaimsAuthenticationAttemptsInTheLastMinute
    3. ClaimsAuthenticationFailuresInTheLastMinute
    4. Description

    It is necessary to understand the datatype each attributes in the all Performance Counters. 

    Regards,

    Krishna.


    Thursday, March 5, 2015 6:55 AM
  • Why VBScript?  This is easier in PowerShell, and you have full access to .NET and WMI if you need it.

    David


    David http://blogs.msdn.com/b/dbrowne/


    Thursday, March 5, 2015 5:13 PM