question

shankar431-9012 avatar image
0 Votes"
shankar431-9012 asked Crystal-MSFT commented

Performance counters data is missing for Logical disk Free Megabytes rule for windows 2012 servers

Hi All,

We have newly built SCOM 2019 environmnet and installed below windows server Management packs.

Windows Server 2012 (R2) (v6.0.7323.0)
Windows Server 2016 and 1709+ (v10.1.0.2)


when we checked the Performance View of Logical disk Free Megabytes randomly on few windows 2012 servers, we see the collection of performance counters is not stable and data is missing.

But performance counters data looks good for Windows 2016 and 2019 servers.

Can you please let us know what is causing this issue and how to resolve this issue.

Regards,
Ravi shankar


msc-operations-manager
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RogerXue-3369 avatar image
0 Votes"
RogerXue-3369 answered

1) Check any event log on agent machine
2) besides check whether only performance rule "Logical disk Free Megabytes rule for windows 2012 servers" has this issue or all performance collection rule

Roger

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Crystal-MSFT avatar image
0 Votes"
Crystal-MSFT answered Crystal-MSFT commented

@shankar431-9012, I have imported the following MP and create a performance view with the data collected from rule logical disk free megabytes Windows server 2012. and find it is working well.
https://www.microsoft.com/en-us/download/details.aspx?id=9296

Here is rule settings:

Performance view settings:
121094-image.png
121007-image.png
For our issue, could you go to the affected agent and check the operations manager log on it to see if there's any error during the missing data time? Also check other performance information collected by other rule on the same agent to see if it is also affected during the affected time which is mentioned by Roger?

In addition, please check if there's any Antivirus running on the agent. If yes, try to disable it and see if the result will change.

If there's any update, feel free to let us know.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (23.5 KiB)
image.png (98.5 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Crystal,

Thank you for your reply.
We have observed this issue observed with other performance rules as well, that too only on windows 2012 servers.

on several agent machines under operations manager event log we can see the below event id's freequently.

Event id:10112 Received registry notification for performance counter creation or deletion.
Event id:10113 Taking a New Global Snapshot. - Every 4 or 6 mins this event is getting generated.
Event id 10111:Deleting Global Snapshot. - Every 5 secs this event is getting generated.

We also checked Antivirus exclusions are already done for the below.
Process
HealthService.exe
MonitoringHost.exe

Directory Exclusion
%ProgramFiles%\Microsoft Monitoring Agent\Agent\Health Service State

File Type Extension Exclusion
Exclude file type extensions .edb, .chk, and .log. These exclusions includes the queue and log files used by Operations Manager.

Please let us know how to fix the issue.

Regards,
Ravi shankar

0 Votes 0 ·

@shankar431-9012, Thanks for the reply. Based on my research, Global Snapshot will run when agent bounces, or if new performance counters are found added to the registry.

From your description, I know there 's Antivirus software running on the machine. As a test, could you temporary disable the Antivirus and restart the machine to see if it can work well?

0 Votes 0 ·

Hi Crystal,

Thank you for the update :-)
In your previous post you mentioned you have imported the windows server 2012 MP and created a performance view with the data collected from rule logical disk free megabytes.
Is it in SCOM 2012 R2 or SCOM 2019.Can you please confirm on this.

In my old SCOM 2012 R2 environment we dont have this issue.
Recently we have set up new SCOM 2019 environment. here only we have issue with windows 2012 servers performance counters.

Regards,
Ravi shankar

0 Votes 0 ·
Show more comments
RogerXue-3369 avatar image
0 Votes"
RogerXue-3369 answered RogerXue-3369 commented

What is your Windows server MP version?
Current version no. is 6.0.7326.0 and you can download from
https://www.microsoft.com/en-us/download/details.aspx?id=9296

Please make sure that you MP version is up to date.

Roger

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Roger,

Thank you for providing the update.

Sure will give try to update the Windows server 2012 MP.
In the management pack system requirements i didn't find any comment saying it supports/compatible with SCOM 2019.

Is there any chance that this issue is becase of the incomantibility of MP with SCOM 2019.

Regards,
Ravi shankar

0 Votes 0 ·

With refer to Crystal implementation, it seems work well.

Roger

0 Votes 0 ·
RogerXue-3369 avatar image
0 Votes"
RogerXue-3369 answered shankar431-9012 commented

For further investigation, you may uses follwoing SQL statements

select SampleValue,InstanceName,dateadd(mi,DATEDIFF(MI, SYSUTCDATETIME() , SYSDATETIME()),DateTime) as [datetime],
RuleDefaultName,DisplayName,Path from perf.vPerfRaw p
inner join vPerformanceRuleInstance pi
on p.PerformanceRuleInstanceRowId=pi.PerformanceRuleInstanceRowId
inner join vRule pr
on pr.RuleRowId=pi.RuleRowId
inner join vManagedEntity mg
on mg.ManagedEntityRowId=p.ManagedEntityRowId
where RuleDefaultName like 'logical disk free me%'
and mg.path='hkXXX.com'
order by DateTime

hkXXX.com is your windows server 2012 machine

Roger

· 9
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Roger,

Thank you for providing the query. We have pulled the the report using query and compared it witht the performance report. We see there are data in the report we have pulled but in the graph it is showing blank. Attaching the screenot for youir reference.
122687-performance-graph.png


122740-performance-data.png

Let me know how to proceed further.

Regards,
Ravi shankar


0 Votes 0 ·

@shankar431-9012, The phenomenon is strange. Would you mind to clear the cache on the server and schedule a non-business time to restart the server to see fi the result will be different?
https://docs.microsoft.com/en-us/system-center/scom/manage-clear-healthservice-cache?view=sc-om-2019

0 Votes 0 ·

HI Crystal,

For confirmation are you referring to use Flushing the Health service state and cache from Health service task ?
Problem is that we have this issue with multiple servers.

Regards,
Ravi shankar

0 Votes 0 ·
Show more comments

Thank for your update. With refer to your output, SCOM agent successful collect performance data. The issue may come from performance view. May be the issue come from not up to date windows server MP.

roger

0 Votes 0 ·

Hi Roger,

Sure, we will try upgradign the current version of MP to latest.

Regards,
Ravi shankar

0 Votes 0 ·
Show more comments
RogerXue-3369 avatar image
0 Votes"
RogerXue-3369 answered Crystal-MSFT commented

Ravi shankar

I has no much idea but you may try "Reset to default" on your personalize view or close your operations console and open it again with clear cache option.

Roger

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Roger,

Thank you for the update.
I was checking the performnce graph from Monitoring -> windows computer-> selecting win 2012 server - > right click prop->Performance view- selecting the required rule.

Can you pleae let me know where you want me to try Reset to default option in my personalise view.
Clear chache on the Win server 2012 R2 Clinet computer where agent is installed?

Regards,
Ravi shankar

0 Votes 0 ·

@shankar431-9012 . To reset to default, we can try the steps in the following link:
https://docs.microsoft.com/en-us/system-center/scom/manage-console-personalize-views?view=sc-om-2019#to-restore-view-defaults

To clear cache, on SCOM operations console, we suggest to open the Operations console with the /clearcache parameter. On agent side, we suggest to choose one windows server 2012 to do stop the Microsoft Monitoring Agent service and remove the the health service store files.

Hope it can help.

0 Votes 0 ·