I have the following agent names that need to be connected to
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?
Devi -You could try going for just the secondary portion of the agent name. Ignore the "dtwsagent[Apache 2.2-" and just say "Contains --> api]@server1", "Contains--> www]@server1". If its not many servers, that could work.
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.