For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Jeff_Nguyen_449's avatar
Jeff_Nguyen_449
Icon for Nimbostratus rankNimbostratus
May 12, 2015

External File monitor failing

We migrated to version 11.6 and I'm having issues with an external monitor failing my pool nodes.

!/bin/sh remove IPv6/IPv4 compatibility prefix (LTM passes addresses in IPv6 format)

IP=

echo ${1} | sed 's/::ffff://'

IP=${1}

PORT=${2} PIDFILE="/var/run/

basename ${0}
.${IP}_${PORT}.pid"

kill of the last instance of this monitor if hung and log current pid

if [ -f $PIDFILE ] then kill -9

cat $PIDFILE
> /dev/null 2>&1 fi echo "$$" > $PIDFILE

send request & check for expected response

curl -L --ntlm -k -v --user 'svc-dca-emea-f5monitor-gsps@ct.abcxyz.net:passw0rd' http://${IP}:${PORT}/_layouts/AccessDenied.aspx -H "Host: collab001-wfc.sp.abcxyz.net" | grep -i "Denied" 2>&1 > /dev/null

mark node UP if expected response was received

if [ $? -eq 0 ] then echo "UP" fi rm -f $PIDFILE exit

anyone have a better understanding of cURL that can help with my troubleshooting efforts?

1 Reply

  • You might want to try sshing to the F5 and running the curl command but putting the pool member ip and port in instead of the variables like:

    curl -L --ntlm -k -v --user 'svc-dca-emea-f5monitor-gsps@ct.abcxyz.net:passw0rd' http://10.0.0.1:80/_layouts/AccessDenied.aspx -H "Host: collab001-wfc.sp.abcxyz.net"
    

    then looking for "Denied" using any case.