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 me...
Hamish
Cirrocumulus
Aug 20, 2008Yep. 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;
Which gives you 3 references $GlobalStatList $HTTPStatList $clSSLStatList which should give up al the stats you'd love to see. Including total connections.
H
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
