adam_tombleson_
Mar 05, 2007Nimbostratus
get_statistics trouble
Hey there, im trying to get the stats from one virtual server. I seem to be having trouble though. Am i calling this wrong? My result set is always empty.
Any help would be great,
Cheers,
Adam
(Perl and Big-Ip 9.1.2).
my @vs_list;
my $vs_def = {
name => $name,
address => $address,
port => $port
};
push @vs_list, [$vs_def];
my $soapResponse = $connection->get_statistics(
SOAP::Data->name( virtual_servers => [@vs_list] )
);
my @res = @{$soapResponse->result->{"statistics"}};