Forum Discussion
jcook_105986
Nimbostratus
Aug 20, 2008how do i get the active connection stat?
When I said "active connection stat"; by I mean,
I need to find out the total number of conections to the server.
Not the number of connection to one of the pool members...
Not the number of connection to one of the virtual server...
Im talking about the number of whole connection to F5 server itself.
Is there any API that gives such information?
Thank you in advance.
2 Replies
- Hamish
Cirrocumulus
Yep. Either via iControl, or SNMP. From memory it's in the systemStats. e.g.my $System = SOAP::Lite -> uri('urn:iControl:System/Statistics') -> proxy("$sProtocol://$icUser:$icPass\@$icServer:$icPort/iControl/iControlPortal.cgi", cookie_jar => $cookieJar); my($now) = time(); my $soapResponse = $System->get_global_statistics(); my ($status, $text)=&checkResponse($soapResponse); $GlobalStatList = $soapResponse->result; my $soapResponse = $System->get_http_statistics(); my ($status, $text)=&checkResponse($soapResponse); $HTTPStatList = $soapResponse->result; my $soapResponse = $System->get_client_ssl_statistics(); my ($status, $text)=&checkResponse($soapResponse); $clSSLStatList = $soapResponse->result;
- Don_MacVittie_1Historic F5 AccountHamish has it. Just in case you're not using Perl, the Wiki Document for System::get_global_statistics() is here:
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