Hello All!
I am trying to install a webserver agent on a Apache webserver with 3 httpd's. The question is if I need to add several names for the web agent (according the system profile) on the file dtwsagent.ini.?
The instructions says that I need a line with the name of the agent here. However, if I have 3 httpds, should I have as well 3 different agents to monitor each one by separate?
Not so sure how this is handled, since the httpd will have only an extra line with /libdtagent.so. I don't see how Dynatrace will link the httpd to each agent here.
Maybe I am missing something.
Thank you for the help!
Answer by Sreerag M. ·
I think installation of the web server agent is required only once.
We install once and create copy of the install folder for additional web servers instances in the same host.
-Sreerag
That was the old recommendation, but the full install is what I'm recommending now because we've added the Web Server Master Agent as a service in Unix/Linux systems and the appropriately parametrized init script gets created with each install. Does that make sense? See the doc (Web Server Agent Configuration) for what I'm referring to.
Rick B
Answer by Dave M. ·
Hi Ageo,
Just put a single name in the dtwsagent.ini. The name will map to the master agent and there will be a child agent under it in the agent overview for each child with a unique name (I think it adds the PID to the end ). Just make sure you have a "starts with" rule in your agent mapping...
HTH,
dave
Hi David!
Thank you for the suggestion. However, I think I didn't explain myself completely correct. What I mean with 3 httpds, 3 different processes running simultaneously, but different, not an instance of a master one. In short, each httpds will be attending different applications. That's why I was wondering if I need to create several dtwasgent.ini. What do you think ?
Thanks!
Hi Ageo,
The recommended way to do this is to install the Agent 3 times in separate directories, and reference each separately in the individual httpd.conf of your Apache instances.
Rick B
JANUARY 15, 3:00 PM GMT / 10:00 AM ET