-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
events are not sent to newrelic for perfmon counters with no instances #36
Comments
Hi @ayounas sorry for the delay. Thanks for all of that detail, it made it easy for me to re-create, as I have a Hyper-v rig to test it with. However, I actually got back the expected data, without making any changes to your json config stanzas. Here's the results (excerpted from
Here is the config.json I used:
It's worth noting that, when you're using the PerfCounter functionality, "eventname" is ignored, that attribute is only used for the WMI queries functionality. It doesn't cause it to fail though, it just ignores that attribute and names events based on Category name, like you see in the results above. Is it possible that you're running an older version of nri-perfmon? How about what OS and arch are you running on? |
Hello @sschwartzman thanks for looking into it, Versions:
Output using the config.json you pasted.
|
So what can you tell me about your env? OS, arch, user running nri-perfmon.exe, etc? Also, can you try running without the "run-once" flag? Maybe that's the issue, it's a relatively new addition to nri-perfmon so I want to ensure it's not that. Update: I tried with "-r" flag and got the same results as without it. |
Hello |
Hello @sschwartzman
Seems all the version above 0.5.1 regressed the fix introduced in the 0.5.1 . |
I'm just wondering if this is planned to get fixed, a long time has passed since this was reported. I tried ayounas findings and installed version 0.5.1 which solved the problem. But i would rather be in a more up to date version. |
Hello
We are monitoring few of the windows hypervisor servers using the nri-perfmon and discovered that metrics/event from few of the configured counters are not sent to newrelic.
On further troubleshooting it seems if there are no instances for the counter then nri-perfmon wont parse the metric
e.g config below does not collect and send counters for Hyper-V Hypervisor
The output below shows Name for the counter is blank (no instances) and i guess probably that's why the counter is not parsed
i tried using
"instance":"*",
"instance":"",
Still no luck
Similarly no output from
All the counters with something in Name: or with instances work just fine
Seems similar to #18 and #17
Verbose Logs
The text was updated successfully, but these errors were encountered: