F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Re: LTM - Monitor with "arping" relies on ARP-Cache

Hi, I'm going to reply myself... I've finally have it working like a charm.... changes that I've made:

Monitor definition: 

  • delete all variables previously defined
  • Arguments: $F5_MONITOR_ADDRESS
  • Alias Service Port: 1  <---- this is because if you define the node in the pool as "* you cannot assign a monitor which service port is also "*" so you have to define and invented port.

And in System  ››  File Management : External Monitor Program File List: 

!/bin/bash
IP=$1
INTERFACE="VLAN_1234"  #Statically defined
# clear arp cache table to avoid false positives 
tmsh delete /net arp $IP
# execute the command:
RESULT=$(arping -c 1 -w 2 -I $INTERFACE $IP 2>&1)
# evaluate the result
if echo "$RESULT" | grep -q "Received 1 response(s)"; then
    echo "UP"
else
fi

And that's all, Iv'e applied the new monitor to the pool definition and the nodes inside the pool inherit the pool monitor.

Regards

No RepliesBe the first to reply