newrelic / nri-perfmon

Windows Perfmon / WMI On-Host Integration for New Relic Infrastructure
Other
14 stars 18 forks source link

Seeing the following nri-perfmon errors in Windows event logs!! Please assist. #15

Closed mravikum2020 closed 4 years ago

mravikum2020 commented 4 years ago

Log Name: Application Source: nri-perfmon Date: 5/11/2020 9:20:44 AM Event ID: 0 Task Category: None Level: Error Keywords: Classic User: N/A Computer: COACMPAPPUAT01.brighthorizons.com Description: Exception occurred in processing next value. Instance '_LM_W3SVC_6_ROOT' does not exist in the specified Category. at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName) at System.Diagnostics.PerformanceCounter.NextSample() at System.Diagnostics.PerformanceCounter.NextValue() at NewRelic.PerfmonPlugin.PollPerfCounters() in Z:\eclipse\nri-perfmon\nri-perfmon\Plugin.cs:line 452 Event Xml:

0 2 0 0x80000000000000 18397552 Application COACMPAPPUAT01.brighthorizons.com Exception occurred in processing next value. Instance '_LM_W3SVC_6_ROOT' does not exist in the specified Category. at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName) at System.Diagnostics.PerformanceCounter.NextSample() at System.Diagnostics.PerformanceCounter.NextValue() at NewRelic.PerfmonPlugin.PollPerfCounters() in Z:\eclipse\nri-perfmon\nri-perfmon\Plugin.cs:line 452
mravikum2020 commented 4 years ago

nri-perfmon-errors.zip

mravikum2020 commented 4 years ago

Please see the attached Windows Events bundle.

sschwartzman commented 4 years ago

Can you please run the following command in Command Prompt (as Administrator):

cd "c:\Program Files\New Relic\newrelic-infra\custom-integrations"
nri-perfmon\nri-perfmon.exe -v > ~\Desktop\nri-perfmon.verbose.log

Let the command run for 10 seconds or so and then stop the process. Then, please post the log to this ticket.

mravikum2020 commented 4 years ago

Sure Seth, please see attachment.

mravikum2020 commented 4 years ago

nri-perfmon.verbose.zip

sschwartzman commented 4 years ago

Oops, verbose didn't run, I forgot "true" in the command. Please re-run like so:

cd "c:\Program Files\New Relic\newrelic-infra\custom-integrations"
nri-perfmon\nri-perfmon.exe -v true > ~\Desktop\nri-perfmon.verbose.log