Getting Data In

Why is Perfmon data not coming to splunk?

rawno
Engager

Splunkd log >>
ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\bin\splunk-perfmon.exe"" splunk-perfmon - PerfmonHelper::enumObjectNames: PdhEnumObjects failed with (0x800007d0): Unable to connect to the specified computer or the computer is offline.\r\n
Error "Unable to connect to the specified computer or the computer is offline." meaning splunk perfmon cannot connect to windows perfmon.
Check if you can open windows performance monitor.
If you get the following :
“UNABLE TO ADD THESE COUNTERS”
\Memory\Available MBytes
\Memory\% Committed Bytes In Use
\Memory\Cache Faults/sec
\Memory\Cache Faults/sec
\PhysicalDisk()\%Idle Time
\PhysicalDisk(
)\Avg. Disk Queue Length
\Network Interface(*)\Bytes Total/sec”

0 Karma
1 Solution

rawno
Engager

issue was with host machines windows perfmon. Splunk-perfmon couldn't communicate to windows due to corrupt windows perfmon.

Follow the steps below:
1. Launch Command Prompt as Administrator (right click Runs As Administrator).
2. Drop into the C:\WINDOWS\System32 directory by typing CD\ then CD Windows\System32
3. To rebuild your resource counters type the following command:
lodctr /r
Restart the splunk-forwarder service and it should resolve this particular issue.

View solution in original post

rawno
Engager

issue was with host machines windows perfmon. Splunk-perfmon couldn't communicate to windows due to corrupt windows perfmon.

Follow the steps below:
1. Launch Command Prompt as Administrator (right click Runs As Administrator).
2. Drop into the C:\WINDOWS\System32 directory by typing CD\ then CD Windows\System32
3. To rebuild your resource counters type the following command:
lodctr /r
Restart the splunk-forwarder service and it should resolve this particular issue.

skalliger
Motivator

So, what did you try to solve the issue? It's stating that Splunk can't connect to the remote machine.

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...