• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by alexandre.leveille@sunmedia.ca · Apr 16, 2014 at 07:30 AM · plugins

Difficulties using Windows Performance Monitor

Hi,

We are trying to use the Windows Performance Monitor plugin, but we're having difficulties.

 

I followed Windows Performance Monitor and How To Retrieve Performance Metrics with Windows Performance Monitor.

Indeed, if I open a cmd prompt on the Windows Collector machine running as the _svc-dynmon user, I can execute the test "typeperf -sc 2 "\\HOST.DOMAIN.TLD\Memory\Available MBytes" " and get the data. So I would think that the permissions and networking are OK.

I checked that the Collector Service is set to run as this "_svc-dynmon user" (Log On tab) and the user as full access to the dT collector installation directory.

I went in the dynaTrace client to setup a Windows Performance Monitor on the host HOST.DOMAIN.TLD (and I selected my dynaTrace Windows Collector as the execution target).

This is the result when I launch the monitor:

Result Status: failed
Result: Last polling execution failed
Reason for failure: External error occurred
Error message: Connection problem
Detailed error message: Connecting to the host 'HOST.DOMAIN.TLD' caused exception: failed to initialize perfmon library. cause:Unable to initialize PerformanceCounter Object. Please check if the host is reachable and the requested Performance Counter is available. Detailed error message: Unable to connect to the specified computer or the computer is offline.
(System error code: 0x800007D0)

 

This "connecting problem" is rather strange since I can execute typeperf -sc 2 "\\HOST.DOMAIN.TLD\Memory\Available MBytes" no problem on the command line (it takes about 5-7 seconds, but I get the expected result).


Any idea? Do I need to put the com.dynatrace.diagnostics.plugins.PerfMonitor_5.6.0.5802.jar plugin in the Plugins directory of my collector (I tried, didn't help)

Thank you,
Alexandre


Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

4 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Andreas G. · Apr 17, 2014 at 01:19 AM

Thanks for the update. I am not an expert when it comes to windows user groups and privilidges. Good you figure out a way to make this work - even though I am not sure why it also needs Admin rights. Maybe somebody else that reads this forum post and shed some lights on the internals of windows security

Andi

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by alexandre.leveille@sunmedia.ca · Apr 17, 2014 at 12:16 AM

Hi,

Just figured out while I was double-checking the user access rights. Turns out that I had to put the user in the Administrator group on the Collector machine.

The user, shared across the Collector machine and monitored target machines, is a domain user and member of the "Performance Monitor Users" on the monitored machines. I though I would try adding it to the "Performance Monitor Users" on the Collector. It didn't help so I tried "Administrator", just for the kicks of it. And it worked. This user has Full Control on the dynaTrace 5.6.0 directory, so it must be something else.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Apr 16, 2014 at 09:51 AM

That is reallly odd. It basically means that the Plugin cannot load the windows perfmon library. Here are some ideas

a) Please double check that you choose the right Collector for your Monitor Definition. It has to be the Windows Collector you have setup

b) Make sure that the user name you specified does have the remote registry access permission. I know you said you tested this - but - just a sanity check

c) Have a look at the Plugin Log File - accessible via System Information Dashlet -> Your Collector -> Log Files. Maybe there is additonal information that can help us

d) make sure that the host you specified in the list of hosts has a name that can be resolved from your Collector

Andi

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by alexandre.leveille@sunmedia.ca · Apr 16, 2014 at 07:35 AM

Also, I've got nothing in the com.dynatrace.diagnostics.plugins.PerfPluginMonitor.0.0 file and not much in the other log files on the collector :/

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Stock Quote Monitor plugin

JMX Enhanced Monitor Plugin Returning Null Values for Custom JMX Service URL

Test Automation with Jenkins Plugin

PDK Development Environment & Dynamic Measures

meaning of SNMP message

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A