AMBARI-1178. Fix use of use ip address for JMX metrics request. (tbeerbower via mahadev)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1435409 13f79535-47bb-0310-9956-ffa450edef68