Understand Performance counters

Hello,
I have enabled performance monitoring on one of my Windows 2008 R2 server for the first time and thus I have a few queries.
Now, I have two questions to start with:
1. How does(in which form) "Performance Counter" store this data and where ?
2. Can I change the date time range to fetch/see graphs of daily/monthly/yearly etc types ?
I wish to fetch these logs to integrate them into a different .Net software that is used to perform few others tasks also.
Please help.

Check if this works for you : http://msdn.microsoft.com/en-us/library/windows/desktop/aa373083%28v=vs.85%29.aspx
Arnav Sharma | Facebook |
Twitter Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members
reading the thread.

Similar Messages

  • No performance counters and other issues

    The title is my main issue, but beating my head against a wall here. Anyone with enough patience to read through my issues below is a saint.
    Following every guide out there, myself and our Linux admin have gone over in detail everything that needs to be done to monitor our RHEL 6 servers in SCOM, but alas, we are having issues.
    First, we tried it on three different servers, all running RHEL 6.6. The servers appear as green and healthy in SCOM, and we get "some" alerts from them such as unauthorized login attempts. However, when we try to open a performance view,
    there are no counters displayed on two of them. One of them displays all the counters you would expect, but none of them have any data collected, except for one lone three hour period from two weeks ago. Before and after that: nothing. That's my biggest confusion,
    because for some odd reason, it managed to work for that time period, so what changed?
    Next, I should mention that I have also had to flat out disable the unix/linux heartbeat monitor because when it's enabled, after about 10 minutes all 3 linux servers will go grey, and no alerts come in for them.
    Digging through all of the posts here, I've come across multiple things to try that have worked for other people, but all with no luck. For starters, theres the whole port 1270 thing. There is no firewall on either the management server or the linux
    servers, and checking for listeners shows the scom agent listening on port 1270 on the linux server. Should there be something listening on port 1270 on the Management server? Because if so, there isn't, and I cant find any posts that say how to make that
    happen. I've attempted to run simple winrm commands from the management server to attempt to gather data from the linux servers, however, when running the command below:
    winrm e "http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_Agent?__cimnamespace=root/scx" -r:"http://<server>:1270" -auth:basic -username:<user> -password:<pass> -encoding:utf-8
    It fails with the following error:
        Message = The WinRM client cannot process the request. The authentication mechanism requested by the client is not supported by the server or unencrypted traffic is disabled in the service configu
    ration. Verify the unencrypted traffic setting in the service configuration or specify one of the authentication mechanisms supported by the server.  To use Kerberos, specify the computer name as the
    remote destination. Also verify that the client computer and the destination computer are joined to a domain. To use Basic, specify the computer name as the remote destination, specify Basic authentic
    ation and provide user name and password. Possible authentication mechanisms reported by server:
    Anyone have any ideas why there are no performance counters, or why winrm requests fail? Is there some missing hidden step or configuration need on the linux end to make the winrm queries work?
    Please help!

    Steve,
    I've never seen any alerts from SCOM in an event viewer log. If you're talking about errors about communication, there arent any coming in. By all accounts, it appears as if SCOM "thinks" it's working fine. As for the agent going "grey",
    they only go grey if I have the heartbeat monitor enabled. Even when they're grey, I can still run tasks in the scom console against them to get top processes etc.
    I've tried changing some of the winrm configs already to attempt successful connections, but with no luck. Here's the current output of winrm get winrm/config:
    Config
        MaxEnvelopeSizekb = 50
        MaxTimeoutms = 60000
        MaxBatchItems = 32000
        MaxProviderRequests = 4294967295
        Client
            NetworkDelayms = 5000
            URLPrefix = wsman
            AllowUnencrypted = true
            Auth
                Basic = true
                Digest = true
                Kerberos = true
                Negotiate = true
                Certificate = true
                CredSSP = false
            DefaultPorts
                HTTP = 5985
                HTTPS = 5986
            TrustedHosts = *
        Service
            RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD)
            MaxConcurrentOperations = 4294967295
            MaxConcurrentOperationsPerUser = 1500
            EnumerationTimeoutms = 240000
            MaxConnections = 300
            MaxPacketRetrievalTimeSeconds = 120
            AllowUnencrypted = true
            Auth
                Basic = true
                Kerberos = true
                Negotiate = true
                Certificate = false
                CredSSP = false
                CbtHardeningLevel = Relaxed
            DefaultPorts
                HTTP = 5985
                HTTPS = 5986
            IPv4Filter = *
            IPv6Filter = *
            EnableCompatibilityHttpListener = false
            EnableCompatibilityHttpsListener = false
            CertificateThumbprint
            AllowRemoteAccess = true
        Winrs
            AllowRemoteShellAccess = true
            IdleTimeout = 7200000
            MaxConcurrentUsers = 10
            MaxShellRunTime = 2147483647
            MaxProcessesPerShell = 25
            MaxMemoryPerShellMB = 1024
            MaxShellsPerUser = 30
    We started the trace on the linux server, and it does appear to be hitting it, but I can't really tell from the logs what exactly it's trying to do. Every 5 minutes it appears to be hitting the /var/log/secure file but im not sure what it's looking for.
    Below is the log activity for the first 20 minutes or so after we began the log. From what I understand, the management server should be attempting to grab performance data every 5 minuts, but I don't think that's happening.
    * Microsoft System Center Cross Platform Extensions (SCX)
    * Build number: 1.5.1-150 Labeled_Build
    * Process id: 30046
    * Process started: 2015-03-24T16:15:33,574Z
    * Log format: <date> <severity>    
    [<code module>:<line number>:<process id>:<thread id>] <message>
    2015-03-24T16:15:33,575Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:356:30046:139918764054464] IsNewFile - not new file
    2015-03-24T16:15:33,575Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:277:30046:139918764054464] LogFileProvider OpenLogFile /var/log/secure- Seek to: 109390
    2015-03-24T16:15:33,575Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:311:30046:139918764054464] LogFileProvider PersistState() - pos = 109545
    * Microsoft System Center Cross Platform Extensions (SCX)
    * Build number: 1.5.1-150 Labeled_Build
    * Process id: 30054
    * Process started: 2015-03-24T16:20:33,572Z
    * Log format: <date> <severity>    
    [<code module>:<line number>:<process id>:<thread id>] <message>
    2015-03-24T16:20:33,573Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:356:30054:140547729790912] IsNewFile - not new file
    2015-03-24T16:20:33,573Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:277:30054:140547729790912] LogFileProvider OpenLogFile /var/log/secure- Seek to: 109545
    2015-03-24T16:20:33,573Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:311:30054:140547729790912] LogFileProvider PersistState() - pos = 109700
    2015-03-24T16:20:46,072Z Trace      [scx.core.common.pal.system.systeminfo:98:28125:140643556374464] SystemInfo constructor
    2015-03-24T16:20:46,072Z Trace      [scx.core.common.pal.system.systeminfo:118:28125:140643556374464] SystemInfo Update()
    2015-03-24T16:20:46,072Z Trace      [scx.core.common.pal.system.systeminfo:108:28125:140643556374464] SystemInfo destructor
    2015-03-24T16:20:46,072Z Trace      [scx.core.common.pal.system.systeminfo:98:28125:140643556374464] SystemInfo constructor
    2015-03-24T16:20:46,072Z Trace      [scx.core.common.pal.system.systeminfo:118:28125:140643556374464] SystemInfo Update()
    2015-03-24T16:20:46,073Z Trace      [scx.core.common.pal.system.systeminfo:108:28125:140643556374464] SystemInfo destructor
    * Microsoft System Center Cross Platform Extensions (SCX)
    * Build number: 1.5.1-150 Labeled_Build
    * Process id: 30058
    * Process started: 2015-03-24T16:25:33,571Z
    * Log format: <date> <severity>    
    [<code module>:<line number>:<process id>:<thread id>] <message>
    2015-03-24T16:25:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:356:30058:140363780855744] IsNewFile - not new file
    2015-03-24T16:25:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:277:30058:140363780855744] LogFileProvider OpenLogFile /var/log/secure- Seek to: 109700
    2015-03-24T16:25:33,572Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:311:30058:140363780855744] LogFileProvider PersistState() - pos = 109855
    * Microsoft System Center Cross Platform Extensions (SCX)
    * Build number: 1.5.1-150 Labeled_Build
    * Process id: 30066
    * Process started: 2015-03-24T16:30:33,570Z
    * Log format: <date> <severity>    
    [<code module>:<line number>:<process id>:<thread id>] <message>
    2015-03-24T16:30:33,570Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:356:30066:139978787211200] IsNewFile - not new file
    2015-03-24T16:30:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:277:30066:139978787211200] LogFileProvider OpenLogFile /var/log/secure- Seek to: 109855
    2015-03-24T16:30:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:311:30066:139978787211200] LogFileProvider PersistState() - pos = 110010
    * Microsoft System Center Cross Platform Extensions (SCX)
    * Build number: 1.5.1-150 Labeled_Build
    * Process id: 30072
    * Process started: 2015-03-24T16:35:33,570Z
    * Log format: <date> <severity>    
    [<code module>:<line number>:<process id>:<thread id>] <message>
    2015-03-24T16:35:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:356:30072:140082908952512] IsNewFile - not new file
    2015-03-24T16:35:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:277:30072:140082908952512] LogFileProvider OpenLogFile /var/log/secure- Seek to: 110010
    2015-03-24T16:35:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:311:30072:140082908952512] LogFileProvider PersistState() - pos = 110165
    Again, I appreciate the help,
    Alvin

  • Some Performance Counters are not displayed in PerfMon

    I have SQL Server 2014 installed in my machine. I need to monitor some performance counters like \SQLServer:Database Mirroring\Log Send Queue KB. When I open the Add Counter dialog of PerfMon, the counter is displayed in the list. But when I add the
    counter and click OK, the counter is not seen added to the list of counters to be monitored. Any one can tell me why this happens? The same issue is there for some other counters like Replication Dist.\Dist:Delivery Latency. My OS is Windows Server Standard

    Ok I understand, but you would need at least 2 instances of SQL. 
    http://www.mssqltips.com/sqlservertip/2464/configure-sql-server-database-mirroring-using-ssms/
    http://www.codeproject.com/Articles/715550/SQL-Server-Replication-Step-by-Step
    Its would be more easy for you, if you have server with these setups in your environment to check counters /or run your program there to test.

  • Top 5 Performance Counters for SSAS Multidimentional

    I have SharePoint 2013 and SQL Server 2014 based reporting solution on Azure.
    I have dedicated VM for SSAS.
    I would like to collect performance data (CPU, RAM etc...)
    What are top 5 most important performance counter for SSAS? (PERFMON)
    Kenny_I

    Hi ,
    Every Counter has there own use and significance and most important will depend on your requiremnt like whta you exactly want to Monitor.
    Apart from above ; The most useful counters here would be in the MSASXX:Processing group, Rows read/sec and Rows written/sec, which will give you an idea of how fast SSAS is reading data from the data source. As a general rule you should
    expect to get 40-60000 rows/sec from SQL Server, and if you're getting less you should try to tune the database you're getting data from rather than SSAS itself. Partitioning measure groups in SSAS and processing partitions in parallel is also a good way of
    improving processing performance.
    Please Refer below link for better understanding of performance counter :
    http://ms-olap.blogspot.in/2009/04/performance-counters-for-ssas-2008.html
    Thanks

  • WMI Class Reference for Dynamics CRM Performance Counters

    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.

    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. 
    Caption
    ClaimsAuthenticationAttemptsInTheLastMinute
    ClaimsAuthenticationFailuresInTheLastMinute
    Description
    It is necessary to understand the datatype each attributes in the all Performance Counters. 
    Regards,
    Krishna.

  • Reinstall Lync Performance Counters

    I'm looking for a way to reinstall Lync's performance counters on a 2013 Front End server without having to rebuild the server.
    Unfortunately we are unable to restore a previous backup of these counters as they were overwritten before a backup was made. Therefore LODCTR /R doesn't work (even when using
    lodctr /r:PerfStringBackup.ini).
    This has made it difficult to monitor the environment. We can't even get values when using Get-CsWindowsService. It just returns Unknown values for each service.
    I have tried manually to reload some of the counters as with the following example
    unlodctr JoinLauncherPerf
    lodctr .\JoinLauncherPerf.ini
    All looks ok. No errors, but after restarting the Performance service I end up with one if not all the following errors in the event log.
    "Disabled Performance Counter X from the X
    service because the performance counter library for that service has generated one or more errors...."
    "The configuration information on the performance library X for the
    X service does not match the trusted performance library information stored in the registry...."
    "Unable to read the first counter index value from the registry"
    "Windows cannot open the 64-bit extensible counter DLL X in a 32 bit environment....."
    I've been searching high and low but can't find any definitive list or script to reinstall these.  Can anyone assist?
    Running on WinSvr2012, Lync Server 2013 with October2013 CU. 2 node Enterprise Front End pool.

    Please check the following blog about similar errors:
    http://terenceluk.blogspot.com/2010/10/event-id-log-errors-1017-1022-logged.html
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or
    suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Lisa Zheng
    TechNet Community Support

  • Exchange 2013 Performance counters

    Hi All
    Can I have performance counters which need to be monitored regularly for below
    CAS - Outlook & OWA Connectivity
    Mail flow
    Database & DAG health
    ActiveSync
    SAH

    Hi SAH,
    Tuning a system for optimum performance is an iterative process. We must take the time to understand all the variables that affect your system, including user profile, architecture, and hardware.
    More details about Understanding Exchange Performance, please refer to:
    https://technet.microsoft.com/en-us/library/dd351192(v=exchg.141).aspx
    Besides, we can use Microsoft Exchange Jetstress and Microsoft Exchange Load Generator to evaluate system performance before deploy Exchange evnironment, for your reference:
    http://technet.microsoft.com/en-us/library/dd335108(v=exchg.141).aspx
    Also, we can run Exchange Best Practices Analyzer to monitor Exchange server:
    http://technet.microsoft.com/en-us/library/aa997090(v=exchg.80).aspx
    Note: we can download
    this tool for Exchange 2013.
    Best Regards,
    Allen Wang

  • WMI Performance counters not shown in SCOM Performance view

    Hi,
    We're unable to see %CPU usage, avg cpu queue length and many other WMI counters on a Performance View for one of our servers.
    - The agent is displayed as healthy.
    - We are getting data from counters generated by script.
    - WMI counters are shown as enabled.
    - We're able to see the counters locally on server manager, on performance counters.
    - we have run lodctr /R, without success.
    - no alerts on the scom agent or server.
    - no overrides for these counters exist.
    So definitely it looks like the WMI infrastructure is working ok but somehow data is not being sent to the server. Any hints on debugging this issue?
    Thanks in advance

    Ops Manager, Ops DW, or both?  If performance collection is ENABLED for this server, and it's a W2K8 box, and you can see the perf in perf monitor on the server, then you should look to see if other performance is missing.  If there are no performance
    counters being collected, then you can do a few things, but before doing that, do some spot checking.
    Is this rule enabled?  Did someone override disable it?  If enabled, and no overrides, then create a view (my views or whatever that custom workspace is) targetting the generic class of "said" target for the collection rule.  Do you see any
    computers listed?  How many computers are listed?  Jot that down.  Go to discovered inventory in the monitoring pane, and change scope to the targeted class for the collection rule.  Count what is returned, do the number of servers returned
    match?
    If you have the same number of green healthy objects in both the custom view and the discovered inventory scope, then you are good, if there are a few missing, you need to troubleshoot those agents.
    If you are missing all of them, you probably have a problem with your RMS/SQL, which means you have to start traces on SQL and or at the very least look at the ops manager event log on the rms.
    So, back to the "missing a few" scenario.  You could start to do logging, etc, but instead of that, reinstall the agent on one of the machines not showing up in both views.  Wait a few hours.  Check the views again, and keep an eye on the
    ops manager event log on that sick agent.  Increase the size of the log file, if you have too, so you don't over right events.
    After a few hours if it's not showing up, you can either start down the path of enabling tracing on the agent (there are kbs on how to turn this on, and the logs are not hard to go through), or you can uninstall the agent.  Run cleanmom on the box.
     Reinstall the agent.
    I would perform the repair, clean mom, before I troubleshoot the agent, but that's just me.  Keep in mind, any data that is collected and or queued will be lost when you do the clean mom.  But since you have no data as it is, no real loss.
    While the agent is showing up in the console, and before you start down the previous steps, I would verify that you have events collected as well (another query) and stop a service on the box that is supposed to be monitored, see if it triggers and alert
    and a state change.  Also peek at the RMS ops manager event log, you might have some SQL problems.
    Good luck.
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/ If my response was helpful, please mark it as so, if it answered your question, then please also mark it accordingly. Thank you.

  • How to get sql server performance counters using query?

    Hai i want to see my sql server performance counters like, Full Scans/sec,  Buffer
    Cache Hit Ratio,  Database Transactions/sec, User
    Connections, Average Latch Wait Time (ms), Lock
    Waits/sec, Lock Timeouts/sec, Number
    of Deadlocks/sec, Total Server Memory, SQL
    Re-Compilations/sec, User Settable Query. If any one know how to get it by using query means, please help me.
    Thanks in advance

    Hello,
    Below is query created by Jonathan Kehayias for measuring Perfom counters using DMV sys.dm_os_performance_counter.
    You can download book from below link
    https://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/
    DECLARE @CounterPrefix NVARCHAR(30)
    SET @CounterPrefix = CASE WHEN @@SERVICENAME = 'MSSQLSERVER'
    THEN 'SQLServer:'
    ELSE 'MSSQL$' + @@SERVICENAME + ':'
    END ;
    -- Capture the first counter set
    SELECT CAST(1 AS INT) AS collection_instance ,
    [OBJECT_NAME] ,
    counter_name ,
    instance_name ,
    cntr_value ,
    cntr_type ,
    CURRENT_TIMESTAMP AS collection_time
    INTO #perf_counters_init
    FROM sys.dm_os_performance_counters
    WHERE ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Full Scans/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Index Searches/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Lazy Writes/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Page life expectancy'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'Processes Blocked'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'User Connections'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Waits/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Wait Time (ms)'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Re-Compilations/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Memory Manager'
    AND counter_name = 'Memory Grants Pending'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'Batch Requests/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Compilations/sec'
    -- Wait on Second between data collection
    WAITFOR DELAY '00:00:01'
    -- Capture the second counter set
    SELECT CAST(2 AS INT) AS collection_instance ,
    OBJECT_NAME ,
    counter_name ,
    instance_name ,
    cntr_value ,
    cntr_type ,
    CURRENT_TIMESTAMP AS collection_time
    INTO #perf_counters_second
    FROM sys.dm_os_performance_counters
    WHERE ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Full Scans/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Index Searches/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Lazy Writes/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Page life expectancy'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'Processes Blocked'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'User Connections'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Waits/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Wait Time (ms)'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Re-Compilations/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Memory Manager'
    AND counter_name = 'Memory Grants Pending'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'Batch Requests/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Compilations/sec'
    -- Calculate the cumulative counter values
    SELECT i.OBJECT_NAME ,
    i.counter_name ,
    i.instance_name ,
    CASE WHEN i.cntr_type = 272696576
    THEN s.cntr_value - i.cntr_value
    WHEN i.cntr_type = 65792 THEN s.cntr_value
    END AS cntr_value
    FROM #perf_counters_init AS i
    JOIN #perf_counters_second AS s
    ON i.collection_instance + 1 = s.collection_instance
    AND i.OBJECT_NAME = s.OBJECT_NAME
    AND i.counter_name = s.counter_name
    AND i.instance_name = s.instance_name
    ORDER BY OBJECT_NAME
    -- Cleanup tables
    DROP TABLE #perf_counters_init
    DROP TABLE #perf_counters_second
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • SSAS performance counters do not appear in Internet Explorer

    I created a few SSAS memory related performance counters (eg MSAS 2008:Memory\Memory Limit Low KB, \MSAS 2008:Memory\Memory Limit High KB etc) to monitor memory and saved it as .html (as I have done previously).
    When I open this .html file in IE 11, these performance counters do not get loaded.
    My machine details are as follows
    OS: Windows 8 (64 Bit)
    SQL Server 2008R2 (64 Bit)
    IE (i believe) is also 64 bit. For reference my IE 11's version is 11.0.9600.17126IS. 
    Previously these used to work and now only the SSAS counters do not seem to load. 
    Any help is appreciated.
    Thanks
    Gautham
    Gautham KAMATH

    Hi Gautham,
    According to your description, you created a few SSAS memory related performance counters and save it as .html, and then open this file in IE 11, the issue is that these performance counters do not get loaded, right?
    In your scenario, you said that you IE is also 64 bit, are you sure about it? Normally, we run IE 32 bit. On 64-bit versions of Windows, there is a separate link in the Start Menu to Internet Explorer (64 bit). If there is no mention of 64-bit in the About
    IE screen, the 32-bit version is opening.  Here is a similar issue with yours, and the reason is related to the version of IE, please refer to the link below to see the detail information.
    http://social.technet.microsoft.com/Forums/en-US/dad153fb-7215-480e-abca-15db952de986/why-is-the-ssas-preformance-counter-missing-when-saved-as-html?forum=sqlanalysisservices
    Hope this helps.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Performance counters are not always removed when APM is disabled

    On several occasions I've noticed that even after:
    removing a server from the target group of all APM management packs
    waiting until IISReset is required
    doing the IISReset
    still some .NET APPS performance counters linger on or maybe gets recreated when load (out of my control) hits the server.
    Profiling the IIS process using Visual Studio I see no use of PerfMon64, so I looks like APM is disabled on the server, but why isn't the performance counter(s) gone?
    Thanks
    Michael Brandt Lassen

    Michael,
    The performance counters category ".NET Apps" is registered on the server at the moment of the APM agent installation (part of MMA agent). Later, the instances are created by the monitored applications. If no applications are monitored, then no
    instances are registered inside the category but category itself isn't going away from the server while APM/MMA is still installed.
    I think it's done to only care about instance creation from inside of the monitored app but not about the category registration from within the app (which requires more privileges...). Also, APM service can always monitor the existing category to wait for
    the new instances and avoid checking for the category itself to re-register the PDH queries..
    It's easy to kill this category even if MMA agent is installed but it might easily break the monitoring scenarios if some app will be monitored on this server again... (E.g. you can run "unlodctr" and point it to the appropriate counters dll or
    ini file...). So, it's better to keep it as is.
    Dmitry Matveev

  • Performance Counters in Oracle Data Provider Version 11

    Hi,
    I'd like to be able to monitor some of the new Oracle performance counters added in ODP Version 11. What do I need to do to make these performance counters visible in Windows Server 2003's Performance Monitor?
    Do I:
    - upgrade my ODP install to version 11
    - modify the web.config file for my ASP application to enable these new performance counters.
    This assumes that Oracle is maintaining these performance counters in the background and requires no application level changes. Is there anything else I'm missing in order to be able to leverage these new performance counters?
    Or, do I need to make changes at the application level in order to leverage the new ODP performance counters?
    I'm hoping that it is the former set of requirements, as the application is a package and we'd rather not have to try to make changes to it, but we would like to be able to leverage the new ODP performance counters to help monitor and diagnose some resource consumption issues that the application seems to have.
    Thank you for any advice that you can give me,
    - Bill -

    Hi,
    The performance counters are new to 11.1.6.20 so you need at least that version (not the 11.1.6.0 version that comes with the 11g database).
    You enable them simply by changing the value for PerformanceCounters in the ODP part of the registry (see the 11.1.6.20 odp docs for more info).
    There is/was an issue with using them in an IIS app, so you'll need to apply at least 11.1.0.6 Patch 4 to the client machine if that's what you need them for.
    Hope it helps,
    Greg

  • SCOM 2012 R2 Agent Issue: Error 25211.Failed to install performance counters.. Error Code: -2147024809

    Hi All,
    I'm trying to deploy SCOM 2012 R2 agent onto a domain controller and I get the following error "Product: Microsoft Monitoring Agent -- Error 25211.Failed to install performance counters.. Error Code: -2147024809 (The parameter is incorrect.)."
    I've installed the agent successfully onto 4 other domain controllers with out any issues.</p><p>The domain controllers are all VM's running on VMWare and are Windows Server 2012 R2.
    I've rebuilt the Perfmon Counters based on this article:&nbsp;https://support.microsoft.com/en-us/kb/2554336?a=wsignin1.0
    I've also enabled verbose logging on the msi installation:
    InstallHSPerfCounters: Custom Action Data. C:\Program Files\Microsoft Monitoring Agent\Agent\
    InstallHSPerfCounters: Installing agent perf counters. 
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft Monitoring Agent\Agent\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057. 
    InstallPerfCountersLib: Retry Count : . 
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft Monitoring Agent\Agent\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057. 
    Any help on this would be great.

    Hi Stefan,
    I've successfully installed the agent. The server needed a reboot after fixing the corrupt perfmon counters.
    I know have a issue with the agent on the domain controller. It kkeeps on greying out and have used hslockdown to allow the local system access by using the following command.
    HSLockdown.exe "ManagementGroupName" /A "NT AUTHORITY\Authenticated Users"
    Further digging into the issue I see in the SCOM Management Server the following error "The entity servername is not heartbeating"
    Written a SQL query to gather more information. SQL query I used is:
    SELECT
    ME.FullName,
    HSO.StartDateTime AS OutageStartDateTime,
    DATEDIFF (DD, hso.StartDateTime, GETDATE()) AS OutageDays,
    HSO.ReasonCode,
    DS.Name AS ReasonString
    FROM  vManagedEntity AS ME
    INNER JOIN     vHealthServiceOutage AS HSO ON HSO.ManagedEntityRowId = ME.ManagedEntityRowId
    INNER JOIN     vStringResource AS SR ON HSO.ReasonCode =
    REPLACE(LEFT(SR.StringResourceSystemName, LEN(SR.StringResourceSystemName)
    – CHARINDEX(‘.’, REVERSE(SR.StringResourceSystemName))), ‘System.Availability.StateData.Reasons.’, ”)
    INNER JOIN     vDisplayString AS DS ON DS.ElementGuid = SR.StringResourceGuid
    WHERE (SR.StringResourceSystemName LIKE ‘System.Availability.StateData.Reasons.[0-9]%’)
    AND DS.LanguageCode = ‘ENU’
    AND ME.FullName like ‘%SERVER NAME%’   –Change name here or leave %% for ALL SERVERS
    ORDER BY OutageStartDateTime
    This gives me the following reason behind the failure : "The heartbeat from System Center Management Service is missing."
    Have I missed anything? The agent is running fine, however SCOM is reporting that the heartbeat is missing.
    Any help on this would be great.

  • Accessing performance counters in CUCM version 6 and above

                       I do know that the older versions of CUCM allows access to windows performance counters using perfmon as explained in this doc
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/service/4_0_1/ccmsrvs/ssperf.html
    However in the later versions of CUCM which runs on Linux OS, is there any way that these counters are made available apart from the RTMT?
    I  have included monitors for CUCM using SNMP, however certain error conditions such as DB replication etc are not available using SNMP. What is the best way I can capture these parameters if I dont have the RTMT?
    Thanks in advance
    Roycey

    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/Windows/9_1/JABW_BK_E4CC9599_00_environment-configuration-guide/JABW_BK_E4CC9599_00_environment-configuration-guide_chapter_01.html
    As to the other post, just copy the URL and remove partner/

  • Cluster Disk Logical Disk Performance Counters Problem

    I have some problem with Oracle cluster. It's a two node Windows server 2008 R2 SP1 cluster with MS Failover cluster. I have SCOM 2012 SP1 with latest OS MP (agent running with local system rights). All other cluster are showing fine performance counters
    but this cluster does only show one cluster disk free space counters. It has 5 cluster disks (MBR formatted). Logical disk performance counters are running fine. So my questions:
    What performance counters does the new "Cluster Disk % and MB free space rule" use? Is it the same old Logical Disk performance counter that collects data for example for drive C:?
    What should I check from this cluster because performance view from my cluster groups are not showing all disks, just one and there are 5 cluster disks?
    Only one Cluster Disk is showing under performance view!
    Health Explorer from Cluster group shows all Cluster disks!

    We have this issue with normal Win server 2008 SQL servers. I can see disks at the Health Explorer view but no collection rules at the performance view. Rule does not have any overrides and it's enabled by default. We use the latest Core OS pack and Cluster
    MP. IS this ANOTHER bug in the MS management pack?

Maybe you are looking for

  • Can't open RoboHelp 9 project

    was recently upgraded to Windows 7 and now I get an error message that RoboHelp 9 cannot load the database - database is stored on a removable drive - not the laptop - Help Please :-)

  • Help in Mapping please help

    Hi, I have a requirement with the source structure looking as Sourece : ACCOUNTGL 0....1 item 0...unbounded ITEMNO_ACC 0....1 CURRENCYAMOUNT 0....1 item 0...unbounded ITEMNO_ACC 0....1 CURRENCY_TYPE 0....1 CURRENCY 0.....1 XXXXXX 0......1 TARGET STRU

  • Restrict client request to site by IP address. If the request is?

    Hi all, I have a requirement like as follows. Requirement: Restrict client request to site by IP address. If the request is from specific IP address. I mean here standard bloack address (Eg: 127.0.0.1,default subnet mask...) I am looking for alread p

  • Batch Processing Giving Access Denied to Share

    Hello, I ran into an issue where the batch window was blank when attempting to save a PDF. I've corrected that issue by taking the following steps: Financial Reports Batch Scheduler – Bursting & Export to PDF By Juan Porter on July 26th, 2013 For tho

  • DIAdem 2011: Error while executing "PicPDFExport" command

    I'm using DIAdem v 11.3.0f4563 on Win2003 (32bit). I'm unable to export reports to PDF (this has worked fine on previous DIAdem versions on the same HW/OS). The problem occurs every time I select "File -> PDF Export..." from the menu. First i get to