VS_state: status (ex. green) and state (ex. enabled)
Profiles: name, type, context. If SSL profile aditional info: certificate, chain, key, cipher list
iRules: order and name
LB-method: method, minimum active members
Member: name, IP, port, ratio, priority, status and state
Monitors: name, interval, timeout. If HTTP/HTTPS monitors additional info: Send and Receive strings
Has a new option "-s" or "-simplified" which outputs multiple values like the profile list or pool members into a unique XML field. Purpose of simplified mode is to be able to have one Virtual Server per row on Excel, with lists showing on a single cell.
This code has been tested on BIG-IP version 12.1 and 14.1.
How to use this snippet:
./LTM-to-XML.pl bigip uid pwd > result.xml
Example for simplified mode and removal of partition information:
./LTM-to-XML.pl -s 127.0.0.1 uid pwd | sed "s/\/.*app\///g" | sed "s/\/Common\///g" > result.xml
The XML can be dragged and dropped on MS Excel and opened as an XML table.