Change position and url Monitor site link in inspector page
web/src/main/java/com/navercorp/pinpoint/web/view/ApplicationAgentListSerializer.java web/src/main/webapp/views/agentInfoMain.html
web/src/main/java/com/navercorp/pinpoint/web/view/ApplicationAgentListSerializer.java web/src/main/webapp/views/agentInfoMain.html
diff --git a/web/src/main/java/com/navercorp/pinpoint/web/view/ApplicationAgentListSerializer.java b/web/src/main/java/com/navercorp/pinpoint/web/view/ApplicationAgentListSerializer.java
index a4dc85753f4d..2f8e1f83c78c 100644
--- a/web/src/main/java/com/navercorp/pinpoint/web/view/ApplicationAgentListSerializer.java
+++ b/web/src/main/java/com/navercorp/pinpoint/web/view/ApplicationAgentListSerializer.java
@@ -66,9 +66,9 @@ private void writeAgentList(JsonGenerator jgen, List<AgentInfoBo> agentList, Mat
             jgen.writeNumberField("endStatus", agentInfoBo.getEndStatus());
             jgen.writeObjectField("serverMetaData", agentInfoBo.getServerMetaData());
             
-            ServerMatcher serverMatcher = matcherGroup.match(agentInfoBo.getIp());
+            ServerMatcher serverMatcher = matcherGroup.match(agentInfoBo.getHostName());
             jgen.writeStringField("linkName", serverMatcher.getLinkName());
-            jgen.writeStringField("linkURL", serverMatcher.getLink(agentInfoBo.getIp()));
+            jgen.writeStringField("linkURL", serverMatcher.getLink(agentInfoBo.getHostName()));
             
             jgen.writeEndObject();
         }
diff --git a/web/src/main/webapp/views/agentInfoMain.html b/web/src/main/webapp/views/agentInfoMain.html
index 083f736cb534..af9409c4719e 100644
--- a/web/src/main/webapp/views/agentInfoMain.html
+++ b/web/src/main/webapp/views/agentInfoMain.html
@@ -25,14 +25,14 @@ <h3>Information</h3>
                     </tr>
                     <tr>
                         <td class="text-right"><strong>Hostname</strong></td>
-                        <td class="text-left">{{info.hostName}}</td>
+                        <td class="text-left">{{info.hostName}}&nbsp;<a ng-if="info.linkName" class="btn btn-default btn-xs" href="{{info.linkURL}}" target="_blank" title="System resource monitoring site">{{info.linkName}}</a></td>
                         <td class="text-right"><strong>JVM GC Type</strong></td>
                         <td class="text-left">{{info.jvmGcType}}</td>
                     </tr>
                     <tr>
                         <td class="text-right"><strong>IP</strong></td>
                         <td class="text-left">
-                            <div>{{info.ip}}&nbsp;<a ng-if="info.linkName" class="btn btn-default btn-xs" href="{{info.linkURL}}" target="_blank" title="System resource monitoring site">{{info.linkName}}</a></div>
+                            <div>{{info.ip}}</div>
                         </td>
                         <td class="text-right"><strong>Start Time</strong></td>
                         <td class="text-left">{{agent.startTime | date:'yyyy-MM-dd HH:mm:ss Z'}}</td>
