F5 Sites
  • F5.com
  • F5 Labs
  • MyF5
  • NGINX
  • Partner Central
  • Education Services Portal (ESP)
Contact
  • Under Attack?
  • F5 Support
  • DevCentral Support
  • F5 Sales
  • NGINX Sales
  • F5 Professional Services
Skip to contentBrand Logo
Forums
CrowdSRC
Articles
GroupsEventsSuggestionsHow Do I...?
RegisterSign In
  1. DevCentral
  2. CrowdSRC
  3. CodeShare

BigIP Report Old

Problem this snippet solves: This codeshare has been deprecated due to a hosting platform corruption. I have moved code and conversation to a new record (on the same original URL) https://devcentra...
Updated Dec 08, 2022
Version 2.0
application delivery
devops
iControl
LTM
microsoft powershell with icontrol
Patrik_Jonsson's avatar
Patrik_Jonsson
Icon for MVP rankMVP
Joined January 16, 2009
View Profile
Evan_Hendrick's avatar
Evan_Hendrick
Icon for Nimbostratus rankNimbostratus
Mar 18, 2020

When running this against one of my load balancers, the calls seem to error out. This causes an error which states "There are no pools to check status" so the polling VIP check fails. When I watch the PowerShell script run, I see this at the beginning of the errors:

Successfully loaded the config file: D:\BIG-IP Report Runner\bigipreportconfig.xml
2020-03-18 14:57:15 Configuring the console window
2020-03-18 14:57:15 Pre-execution checks
2020-03-18 14:57:15 Loaded F5 iControl snapin
2020-03-18 14:57:15 Pre execution checks was successful
2020-03-18 14:57:15 Enabling TLS1.2
2020-03-18 14:57:15 Getting data from %REDACTED%
2020-03-18 14:57:16 iControl session successfully established
2020-03-18 14:57:16 Getting hostname
2020-03-18 14:57:16 Hostname is %REDACTED%
2020-03-18 14:57:17 Fetching information about the device
2020-03-18 14:57:18 Caching LTM information from %REDACTED%
2020-03-18 14:57:18 Caching certificates
2020-03-18 14:57:21 Caching monitors
2020-03-18 14:57:22 Caching data groups
2020-03-18 14:57:23 Caching Pools
Exception calling "get_member_v2" with "1" argument(s): "Exception caught in 
LocalLB::urn:iControl:LocalLB/Pool::get_member_v2()
Exception: Common::OperationFailed
	primary_error_code   : 16908336 (0x01020030)
	secondary_error_code : 0
	error_string         : 01020036:3: The requested query_reply () was not found."
At D:\BIG-IP Report Runner\bigipreport-5.1.9.ps1:1218 char:2
+     [array]$PoolMembers = $F5.LocalLBPool.get_member_v2($PoolList)
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SoapHeaderException
Exception calling "get_member_v2" with "1" argument(s): "Exception caught in
LocalLB::urn:iControl:LocalLB/Pool::get_member_v2()
Exception: Common::OperationFailed
	primary_error_code   : 16908336 (0x01020030)
	secondary_error_code : 0
	error_string         : 01020036:3: The requested query_reply () was not found."
At D:\BIG-IP Report Runner\bigipreport-5.1.9.ps1:1218 char:2
+     [array]$PoolMembers = $F5.LocalLBPool.get_member_v2($PoolList)
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SoapHeaderException
 
Exception calling "get_member_object_status" with "2" argument(s): "Could not find element by name: members"
At D:\BIG-IP Report Runner\bigipreport-5.1.9.ps1:1219 char:2
+     [array]$PoolMemberstatuses = $F5.LocalLBPool.get_member_object_st ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SoapHeaderException
Exception calling "get_member_object_status" with "2" argument(s): "Could not find element by name: members"
At D:\BIG-IP Report Runner\bigipreport-5.1.9.ps1:1219 char:2
+     [array]$PoolMemberstatuses = $F5.LocalLBPool.get_member_object_st ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SoapHeaderException
 
Exception calling "get_member_priority" with "2" argument(s): "Could not find element by name: members"
At D:\BIG-IP Report Runner\bigipreport-5.1.9.ps1:1220 char:2
+     [array]$PoolMemberpriorities = $F5.LocalLBPool.get_member_priorit ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SoapHeaderException
Exception calling "get_member_priority" with "2" argument(s): "Could not find element by name: members"
At D:\BIG-IP Report Runner\bigipreport-5.1.9.ps1:1220 char:2
+     [array]$PoolMemberpriorities = $F5.LocalLBPool.get_member_priorit ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SoapHeaderException
 
Exception calling "get_all_member_statistics" with "1" argument(s): "Exception caught in 
LocalLB::urn:iControl:LocalLB/Pool::get_all_member_statistics()
Exception: Common::OperationFailed
	primary_error_code   : 16908336 (0x01020030)
	secondary_error_code : 0
	error_string         : 01020036:3: The requested query_reply () was not found."
At D:\BIG-IP Report Runner\bigipreport-5.1.9.ps1:1225 char:2
+     [array]$PoolMemberStatistics = $F5.LocalLBPool.get_all_member_sta ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SoapHeaderException
Exception calling "get_all_member_statistics" with "1" argument(s): "Exception caught in
LocalLB::urn:iControl:LocalLB/Pool::get_all_member_statistics()
Exception: Common::OperationFailed
	primary_error_code   : 16908336 (0x01020030)
	secondary_error_code : 0
	error_string         : 01020036:3: The requested query_reply () was not found."
At D:\BIG-IP Report Runner\bigipreport-5.1.9.ps1:1225 char:2
+     [array]$PoolMemberStatistics = $F5.LocalLBPool.get_all_member_sta ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SoapHeaderException

After those initial errors, I see a sea of:

Cannot index into a null array.
At D:\BIG-IP Report Runner\bigipreport-5.1.9.ps1:1236 char:3
+         $PoolMemberStatisticsDict = Get-PoolMemberStatisticsDictionar ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : NullArray

I have four LTM Environments, three of them this worked without error, this last environment has this error. The only real difference between the environments is that this one does not use BIG-IQ to manage it. Anything to point me in the right direction would be greatly appreciated.

Thanks,

Evan

Help guide the future of your DevCentral Community!

What tools do you use to collaborate? (1min - anonymous)

ABOUT DEVCENTRAL

DevCentral NewsTechnical ForumTechnical ArticlesTechnical CrowdSRCCommunity GuidelinesDevCentral EULAGet a Developer Lab LicenseBecome a DevCentral MVP

RESOURCES

Product DocumentationWhite PapersGlossaryCustomer StoriesWebinarsFree Online CoursesTraining & Certification

SUPPORT

Manage SubscriptionsProfessional ServicesCreate a Service RequestSoftware DownloadsSupport Portal

PARTNERS

Find a Reseller PartnerTechnology AlliancesBecome an F5 PartnerLogin to Partner Central

©2024 F5, Inc. All rights reserved.
TrademarksPoliciesPrivacyCalifornia PrivacyDo Not Sell My Personal Information