Forum Discussion
Cynthia_18735
Nimbostratus
May 06, 2008More efficient way to get pool member status per URL using iControl?
I have a perl script that is does the following:
(1) Gets a list of WideIP's from GlobalLB/WideIP
(2) For each WideIP, gets a list of Pool names from GlobalLB/Pool.
...
Cynthia_18735
Nimbostratus
May 07, 2008Joe - I have moved this code into production, and seems to be working just great! Just one more question though.
In the /var/logs/httpd/ssl_access_log file, we have the following entries. All of these entries are generatd from the soap requests. My question is about the entries with the '406' error code. Is this normal? Seems like I get one of these right before it makes the actual SOAP calls. I'm guessing this is the soap calls with authorization, that look something like this.
SOAP API Calls with authorization
$WIDEIP = SOAP::Lite
-> uri('urn:iControl:GlobalLB/WideIP')
-> proxy("$sProtocol://$sHost:$sPort/iControl/iControlPortal.cgi");
eval { $Rule->transport->http_request->header
(
'Authorization' =>
'Basic ' . MIME::Base64::encode("$sUID:$sPWD", '')
); };
Following are the log entries:
May 7 15:03:02 gtm-01 logger: [ssl_acc] 10.115.84.20 - - [07/May/2008:15:03:02 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 406 -
May 7 15:03:02 gtm-01 logger: [ssl_acc] 10.115.84.20 - userid [07/May/2008:15:03:02 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 200 5221
May 7 15:03:03 gtm-01 logger: [ssl_acc] 10.115.84.20 - - [07/May/2008:15:03:03 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 406 -
May 7 15:03:03 gtm-01 logger: [ssl_acc] 10.115.84.20 - userid [07/May/2008:15:03:03 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 200 12691
May 7 15:03:03 gtm-01 logger: [ssl_acc] 10.115.84.20 - - [07/May/2008:15:03:03 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 406 -
May 7 15:03:04 gtm-01 logger: [ssl_acc] 10.115.84.20 - userid [07/May/2008:15:03:04 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 200 28777
May 7 15:03:06 gtm-01 logger: [ssl_acc] 10.115.84.20 - - [07/May/2008:15:03:05 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 406 -
May 7 15:03:07 gtm-01 logger: [ssl_acc] 10.115.84.20 - userid [07/May/2008:15:03:06 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 200 77607
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
