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
sure, you can do that in the script, try this line after the first IP setting (stripping the IPv6 header):
IP=`echo ${1} | sed 's/%.*$//'`
At the command line, results look like this:
[root@golgotha:REBOOT REQUIRED] config IP1=10.10.20.5%112
[root@golgotha:REBOOT REQUIRED] config IP2=10.10.20.5%11
[root@golgotha:REBOOT REQUIRED] config IP3=10.10.20.5%1
[root@golgotha:REBOOT REQUIRED] config echo $IP3 | sed 's/%.*$//'
10.10.20.5
[root@golgotha:REBOOT REQUIRED] config echo $IP2 | sed 's/%.*$//'
10.10.20.5
[root@golgotha:REBOOT REQUIRED] config echo $IP1 | sed 's/%.*$//'