Getting Data In

help with setting up windows perfmon in the universal forwarder

ebailey
Communicator

I am trying to get a few perfmon counters setup in the universal forwarder for Windows 2012 without much luck.

I am getting the following error

05-21-2015 16:45:14.950 -0500 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\bin\splunk-perfmon.exe"" splunk-perfmon - PdhEnumObjectItems returned error 0xc0000bb8 for object '.NET CLR Exceptions'.
05-21-2015 16:45:14.950 -0500 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\bin\splunk-perfmon.exe"" splunk-perfmon - getAllInstancesCounters failed in PeriodicDataCollector::enumInstancesCounters

Any ideas are very welcome.

Here is my inputs.conf

Performance Monitors -------------------------------------------------------------------------------------

[perfmon://CPU]
disabled = false
counters = *
instances = *
interval = 10
object = Processor
useEnglishOnly = true

[perfmon://LogicalDisk]
disabled = false
counters = % Free Space; Free Megabytes; % Disk Time; Avg. Disk sec/Read; Avg. Disk sec/Write; Avg. Disk sec/Transfer; Disk Reads/sec; Disk Writes/sec;
instances = *
interval = 10
object = LogicalDisk
useEnglishOnly = true

[perfmon://Memory]
disabled = false
counters = % Committed Bytes In Use; Committed Bytes; Available MBytes; Page Reads/sec, Page Writes/sec; Page Faults/sec; Transition Faults/sec;
interval = 10
object = Memory
useEnglishOnly = true

[perfmon://Network]
disabled = false
counters = Bytes Received/sec; Bytes Sent/sec; Bytes Total/sec;
instances = *
interval = 10
object = Network Interface
useEnglishOnly = true

[perfmon://System]
disabled = false
counters = System Up Time; Processor Queue Length;
instances = *
interval = 60
object = System
useEnglishOnly = true

[perfmon://.NET CLR Exceptions]
disabled = false
counters = *;
instances = *
interval = 10
object = .NET CLR Exceptions
useEnglishOnly = true

[perfmon://.NET CLR Memory]
disabled = false
counters = *;
instances = *
interval = 10
object = .NET CLR Memory
useEnglishOnly = true

[perfmon://ASP.NET]
disabled = false
counters = *;
instances = *
interval = 10
object = ASP.NET
useEnglishOnly = true

[perfmon://ASP.NET Applications]
disabled = false
counters = *;
instances = *
interval = 10
object = ASP.NET Applications
useEnglishOnly = true

[perfmon://Web Service]
disabled = false
counters = *
instances = *
interval = 10
object = Web Service
useEnglishOnly = true

[perfmon://MSMQ Service]
disabled = false
counters = *
instances = *
interval = 10
object = MSMQ Service
useEnglishOnly = true

[perfmon://MSMQ Session]
disabled = false
counters = *
instances = *
interval = 10
object = MSMQ Session
useEnglishOnly = true

[perfmon://MSMQ Queue]
disabled = false
counters = *
instances = *
interval = 10
object = MSMQ Queue
useEnglishOnly = true

0 Karma

dstaulcu
Builder

It is possible that one or more of the performance counters you have an input for are corrupted. Disable all counters and add back one at a time until you find out which input/counter is causing the problem.

0 Karma

neelamssantosh
Contributor

Just for troubleshooting/check,
if your wmi service on windows are running/started.

Restart the splunk service if still doesn't workout.

Share the recent logs

0 Karma
Get Updates on the Splunk Community!

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...