Here are some details about customer's environment.
1. The FglAM where Apache agents reside is running on a linux named host-1
2.Apache instances are running on docker containers on host-1 with ports 80/81/82/83/84. and according to server-info page, we can know that the server root and server config path are same. We suspect that these docker containers are copied from the same template.
3. Customer create four Apache agents by input the host-1 as the value for host name property.
There is only one Apache Webserver displayed in dashboard
Based #2 and #3, the ids of four apache servers are same. That's the reason why there is only one Apache Web server displayed in the dashboard.
APPB-398 hs been logged as enhancement request
We figured out the following workaround to remotely monitor the Apache server instances running in the docker container with same server config path.
1. Clone one ‘Predefined Host Name List’ secondary ASP from ‘predefinedHostNameList’ for each agent.
2. Add one row to each cloned secondary ASP to mapping corresponding Apache server running in the docker container.
For example, There are four Apache Agent named Apache_Monitor_A, Apache_Monitor_B, Apache_Monitor_C and Apache_Monitor_D.
a. Add ‘192.168.99.100 - ApacheA ‘ in the cloned secondary ASP for Apache_Monitor_A
b. Add ‘192.168.99.100 - ApacheB ‘ in the cloned secondary ASP for Apache_Monitor_B
c. Add ‘192.168.99.100 - ApacheC ‘ in the cloned secondary ASP for Apache_Monitor_C
d. Add ‘192.168.99.100 - ApacheD ‘ in the cloned secondary ASP for Apache_Monitor_D