Rob_13365
Oct 12, 2015Altocumulus
Solved
iControl SnapIn and version 11.6 - xml error?
Hello,
I write a script a year or so ago to get various statistics out of F5 big ip and into our monitoring system. it was working fine on version 10.x but we recently upgraded to version 11.6 and now it's broken and I can't understand what's wrong.
When I run the command:-
(Get-F5.iControl).LocalLBVirtualServer.get_statistics("someVIP")
I get the following exception:-
Exception calling "get_statistics" with "1" argument(s): "There is an error in XML document (358, 95)."
At line:1 char:1
+ (Get-F5.iControl).LocalLBVirtualServer.get_statistics("someVIP")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : InvalidOperationException
Can someone explain what's going on with this error and how I might be able to resolve it?
Many thanks,
Rob
I've worked out what was wrong. I was using an older version of the snapin.
I found the link to download iControlSnapInSetup_23.msi and now I'm back in business.