Monitoring Windows Services from BIG-IP
Community MVP hwidjaja dropped a bomb-sized nugget of wisdom in the forums last week that I would be remiss if I didn’t write up and share with the greater community at large. Zenoss has a WMI execu...
Published Dec 28, 2010
Version 1.0JRahm
Admin
Joined January 20, 2005
JRahm
Admin
Joined January 20, 2005
JRahm
Dec 20, 2011Admin
oh, actually, if quoting the first IP line, the second should reference the IP variable, but better, just add the sed method to the original line:
!/bin/bash
remove IPv6/IPv4 compatibility prefix (LTM passes addresses in IPv6 format)
IP=`echo ${1} | sed 's/::ffff://'` | sed 's/%.*$//'