Can you share the details of the external monitor that you have created to check the Syntax.
You are seeing an error similar to the following in /var/log/gtm:
gtmd[<PID>]: 011a4003:1: SNMP_TRAP: Pool /Common/<pool> member /Common/<virtual_server> (ip:port=<ip_address>:<port>) state change green --> red ( Monitor <monitor> from <ip_address> : missing program name)
You may also see the monitor provide results other than what you are expecting.
Environment
BIG-IP GTM, DNS, or Link Controller
External Monitor
Cause
This error can be caused in two ways:
You’ve configured an external monitor on the GTM and didn’t put the program name in the program name field
You’ve created it with a program name, but didn’t import the external monitor script into the GTM yet
Recommended Actions
Apply the proper program name or import the proper program file into the device when creating the monitor.
I do not renember if the script should also be added on all F5 devices in a DNS sync group or prober pool to be used just so only the GTM with the script to do the job?
I am not seeing missing program name error in the logs
script is below
# start sample script
#!/bin/sh
# (c) Copyright 1996-2007 F5 Networks, Inc.
#
# @(#) $Id: http_monitor_cURL+GET,v 1.0 2007/06/28 16:10:15 deb Exp $
# (based on sample_monitor,v 1.3 2005/02/04 18:47:17 saxon)
#
# these arguments supplied automatically for all external monitors:
# $1 = IP (IPv6 notation. IPv4 addresses are passed in the form
# ::ffff:w.x.y.z
# where “w.x.y.z” is the IPv4 address)
# $2 = port (decimal, host byte order)
#
# Additional command line arguments ($3 and higher) may be specified in the monitor template
# This example does not expect any additional command line arguments
#
# Name/Value pairs may also be specified in the monitor template
# This example expects the following Name/Vaule pairs: uri = “crl.entrust.net” #RECV = “Not found”
#
# remove IPv6/IPv4 compatibility prefix (LTM passes addresses in IPv6 format)
IP=`echo ${1} | sed ‘s/::ffff://’`
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
echo “EAV exceeded runtime needed to kill ${IP}:${PORT}” | logger -p local0.error
kill -9 `cat $PIDFILE` > /dev/null 2>&1
fi
echo “$$” > $PIDFILE