diff --git a/check_haproxy_health b/check_haproxy_health
index d10a02bbb109ffa0149bab6282f813b5a978fc48..ae648b0e293df3bacc3cad478d14a8e47abc785f 100755
--- a/check_haproxy_health
+++ b/check_haproxy_health
@@ -38,22 +38,24 @@ fi
 
 # ----------------------------------------------------------------------
 
-
 url=$( getHealthUri )
 
+# remove password for showing url in output
+safeurl=$( echo $url | sed "s#\(://\)\(.*@\)#\1#g" )
+
 # --- get status page
 wget --no-check-certificate -O $tmpfile $url 2>/dev/null
 if [ $? -ne 0 ]; then
   rm -f $tmpfile
-  ph.abort "UNKNOWN: url $url did not respond. `wget --no-check-certificate -O - -S $url`"
+  ph.abort "UNKNOWN: url $safeurl did not respond. `wget --no-check-certificate -O - -S $url`"
 fi
 
 grep "200 OK" $tmpfile >/dev/null
 if [ $? -ne 0 ]; then
   ph.setStatus "error"
-  ph.status "url $url did not contain 200 OK. `wget --no-check-certificate -O - -S $url`"
+  ph.status "url $safeurl did not contain 200 OK. `wget --no-check-certificate -O - -S $url`"
 else
-  ph.status "HA Proxy $url is up and running."
+  ph.status "HA Proxy $safeurl is up and running."
 fi
 
 rm -f $tmpfile