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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...