• 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 Julio M. · Sep 16, 2018 at 11:02 PM · appmon appmon 7 license webserver NGINX

AppMon keeps reporting incident "License exhausted" after upgrade from 7.0 to 7.1 (web server agent)

We recently upgraded to AppMon 7.1 (coming from 7.0) and, after the upgrade, our web server agent keeps reporting a licence exhaustion.

Looking at the Agents Overview, we noticed the web server agent is keeping track of multiple instances of the same Nginx process --- note there are multiple instances of the agent for a single PID.

The extra agent instances keep popping in and out of existence. Fundamentally, on 7.0, only one instance would show up for every Nginx process.

Also, looking at the Nginx server itself, we noticed there are multiple instances of the One Agent Process.

While watching these agents, we noticed they come and go, following groups of Nginx workers. It seems like there is a "One Agent companion process" spawning everytime nginx creates a new group of worker threads.

Anyone else having this issue?

screenshot-2018-09-16-19-51-49.png (109.5 KiB)
screenshot-2018-09-16-19-53-01.png (137.7 KiB)
screenshot-2018-09-16-19-58-33.png (151.2 KiB)
Comment

People who like this

0 Show 1
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 Andrew M. · Jan 09, 2019 at 07:33 AM 0
Share

Hi Julio,

I'm not sure exactly why you would be seeing a different license consumption rate for your Nginx process. I can tell you however, that the most likely scenario for having this change is that between your upgrade AppMon 2017 May (7.0) to AppMon 2018 April (7.1), there was a change in the architecture of the agent platform and which one is chosen by default (as of 2018 April, update 8). So actually you may have been on Classic agent platform before and now this was switched over to the newer AppMon agent architecture.


In cases like these, I would suggest to open a support ticket for this very specific issue you are experiencing:

https://www.dynatrace.com/services-support/#get-su...

More information on the agent platforms are available on the following pages:

https://www.dynatrace.com/support/doc/appmon/appli...

https://www.dynatrace.com/support/doc/appmon/appli...

Regards,

Andrew

1 Reply

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

Answer by Julio M. · Jan 09, 2019 at 02:13 PM

Hi Andrew,

Thank you for the follow up!

I did open a support ticket back in sept/2018 and they provided excellent support for this. They were able to diagnose with a remote session into our infrastructure and confirm the new agent platform does have an issue with reloading Nginx and consuming extra licenses. They provided a patch with the release of version 7.1.14.

In this version, there is a debug flag called debugNginxNoAgentRestartOnReloadNative. It can be enabled from the AppMon Client with the following steps:

  • While in the AppMon Desltop Client, press CTRL+SHIFT+F9 to enable debug options. You will notice a subtle message appear in the client's status bar at the bottom right informing it's been enabled.
  • Open the System Profile Preferences dialog, and expand the Agent Group you want to modify.
  • Click Agent Mapping in the desired group. You will notice a Debug button should now be visible.
  • Click the Debug button and add a new property: debugNginxNoAgentRestartOnReloadNative. Under Value, check to enable it.
  • Save by clicking OK all the way back to the main window.
  • Restart the monitored web server (Nginx in this case).

Below is a screenshot that shows all steps at once.


2018-10-23-01-32-54.png (130.7 KiB)
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

29 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Web server agent getting disconnected during collector switching. And same is getting connected after restarting collector

Use AppMon agent to monitor a dockerized Nginx

Web Request - Header Value measure for splitting not working on Accept-Language header

License exhausted; too many agents connected

RFE - NGINX Support Update (1.13)

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