• 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 Sreerag M. · Feb 21, 2015 at 07:47 AM ·

.NET agent log: warning [native] GC Events not available

Hi,

We dont see Memory details for our .net agent for few application. On looking at the agent log we found the following message

warning [native] GC Events not available.

Could anyone give us more details on why the warning is there and how to get the memory information for the .net agent.

-Sreerag

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.

7 Replies

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

Answer by Andreas G. · May 21, 2015 at 02:06 PM

As for the permissions - at least thats true when you run a Windows Performance Monitor Plugin - your user that runs your process shoudl be in the local group called Performance Monitor Users. A more detailed description can be found here: How To Retrieve Performance Metrics with Windows Performance Monitor#UserAuthenticationandPermissions

I assume though that Sreerag's point will most likely be the root cause of your issue

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 Sreerag M. · May 20, 2015 at 09:42 PM

We troubleshoot this as follows

1) Agent log shows "GC Events not available". Andi's reply explains why it is showing up in agent log.

2) Check to see if there is an access warning on reading perf counters in agent log

3) If yes then it could be access issue. We work with Application Admin to provide application user id access to read perf counters. Key here is perf counter read access.

4) if there is no access warning or you dont see all .Net metrics in DT then it could be that there is no registered perf counters on the app server for those missing metrics. Here we need to get the perf counters in the app server so that the agent can read those.

 

The command "lodctr /R" could help in rebuild all Performance counters. (I'm not a windows expert so please test this out in test server.)

we found that our app servers didnt had all perf counters. we are working to get those counters added in the app server.

Hope this helps.

-Sreerag

Comment

People who like this

0 Show 1 · 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 John K. · May 20, 2015 at 09:51 PM 0
Share

Sreereg,

Thank you so much!

avatar image

Answer by John K. · May 20, 2015 at 09:22 PM

Actually one usernameon an application is listed as "Network Service"

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 Sreerag M. · May 20, 2015 at 09:18 PM

You guessed right it is the user id that runs the application process.

-Sreerag

Comment

People who like this

0 Show 1 · 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 John K. · May 20, 2015 at 09:20 PM 0
Share

Sreerag,

Thank you....you wouldnt happen to know the specific right to reqeust would you?

avatar image

Answer by John K. · May 20, 2015 at 09:16 PM

Andreas,

  We have a similar issue.  Do you know hte specific right to request?  and I want to make sure i understand what id we are talking about.

 

Are we talking about the id the actually runs the application process...not a dynatrace id per say.

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 Sreerag M. · Feb 25, 2015 at 02:23 AM

Thanks Andi, i was looking at the agent log because we were not getting the process metrics for these .net agents.

I was hoping to find the user access warning message in the agent log, however i could find it and this was the only error message in agent log.

I remember seeing those access related error in agent log before. i will check with application team on the user access.

-Sreerag

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. · Feb 24, 2015 at 11:10 PM

Hi

This warning is not related to the memory metrics (Heap Sizes, GC, ...). It is related to the fact whether we can capture memory dumps. There is an advanced option in the agent mappings where you can turn on memory dump capturing for .NET. If that is set to OFF - or - if the "automatic" option couldnt turn on that feature in the .NET CLR you will get this log output.

Memory Metrics that you see in the Process Health Dashboard are captured using PerfMon. If you dont get this type of data it is most likely that the windows user account that is used to run your .NET proceses doesnt have privileges to capture this data.

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.

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

2 People are following this question.

avatar image avatar image

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