AppD Archive

one node and more than one AppDynamics application

CommunityUser
Splunk Employee
Splunk Employee

In the videos, the travel business application is used as sample. Let's assume the test enviroment is one the same machine as the production. Now I want to monitor the test sites and the productive sites each in its own AppDynamics application.

Is that possible or do I have install the test sites on an other machine?

As I see in the .NET Agent configuration file, I can indicate only one application name. Is that correct?

If yes, this would also mean, that one agent relates only to one application. Or all services and sites on one machine have to belong to the same application, which is, I guess, not the intention.

It rather should be possible to assign the services and sites on one machine to different AppDynamics applications.

Thanks four your help

Hans

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hans,

More than one AppDynamics Application per IIS is supported, just not via the GUI configuration tool. You'll have to manually edit the .NET agent's config.xml file to make it work. Here's the documentation to help you accomplish that:

https://docs.appdynamics.com/display/PRO40/Configure+Multiple+Business+Application+Support+for+.NET

Hope that helps!

-Brad

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Bradley

I changed the configuration file after those instructions.

But now the controller logs following error:

2015-03-26 09:56:04.5771 8244 dllhost 1 1 Info ConfigurationLoader Reading configuration file: C:\ProgramData\AppDynamics\DotNetAgent\Config\config.xml
2015-03-26 09:56:04.8427 8244 dllhost 1 1 Error ConfigurationManager Error reading the configuration file: There is an error in XML document (4, 3).
The element 'controller' has invalid child element 'applications'. List of possible elements expected: 'application, proxy, account'.
2015-03-26 09:56:04.8583 8244 dllhost 1 1 Info ConfigurationManager Apps:

The version of the AppDynamics.Agent.Coordinator.dll is 3.7.14.1028 from 7th Jan 2014 18:235

Is this the problem? Should I use a newer version?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hans,

Can you attach your config.xml file for us to look at?

Thanks,

-Brad

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Brad,

Here they are: the working and the non-working configuration files.

Best Regards,

Hans

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

...but it looks like your config.xml file worked. Here's the result on my 4.x system (see screen shot).

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Bradley

Thanks for your messages.

Now it's clear, why it doesn't work. I will upgrade to the latest version, as soon as possible.

Best Regards,

Hans

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hans,

I looked into it and that feature isn't supported in AppDynamics version 3.7. Support for it began in 3.8. So, it looks like upgrading would be the way to go if this is something that you really need. Sorry!

Good luck,

-Brad

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...