I have the following agent names that need to be connected to
dtwsagent[Apache 2.2-api]@server1
dtwsagent[Apache 2.2-www]@server1
dtwsagent[Apache 2.2-api]@server2
dtwsagent[Apache 2.2-www]@server2
I would like to make agent mapping such a way that server1/api is mapped as Webserver-1-API server2/api is mapped as Webserver-2-API; similarly for www as well.
This is what i tried initially.
I had an agent mapping with
Agent Mapping - regex = dtwsagent\[Apache.*api.*
Agent Host - regex to match the hostname
but it looks like the agents are not identified properly.
i was not able to use Agent name contains, since it doesn't allow spaces in the text box.
Can someone please let me know how I can solve the issue?
Answer by Kyle K. ·
The other thing I would recommend is changing the name in the dtwsagent.ini to match the server you want. I think this would require 2 different binaries installed on the same server (one for api one for www). I say this because I think the core problem is the agent is named dtwsagent and the Apache part is appended later based on the tech type.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET