Forum Discussion
George_32256
Nimbostratus
Jan 17, 2011Extracting CSV data for SSL Statistics with pycontrol/suds
I'm trying to get the CSV data for the Performance SSL TPS graphs so we can determine which vips are using the most TPS but I can't figure out the syntax of the commands from the icontrol wiki. This is what I have so far:
b = pc.BIGIP(
hostname = '192.168.3.2',
username = 'admin',
password = 'eclipse',
fromurl = True,
wsdls = ['System.Statistics'])
b.get_performance_graph_csv_statistics(
in PerformanceStatisticQuery[]
Query.object_name = "CPU0"
Query.start_time = 0
Query.end_time = 0
Query.interval = 0
Query.maximum_rows = 0);
This isn't working plus not sure where data will be placed, what it will be named or if I get to choose somehow? I'm a python novice so that may be part of the problem here.
George Thompson
7049937006
george.thompson2@hp.com
- JRahm
Admin
You need to send a dictionary. First, you'll want to get the object_name from get_performance_graph_list (the graph_name value), then supply like this: - JRahm
Admin
sorry the stats is a shortcut for the interface (stats = b.System.Statistics), full would be b.System.Statistics.get_performance_graph_csv_statistics() - L4L7_53191
Nimbostratus
@George: You can see an example of this very call in the TPS report script that I wrote a while back: - L4L7_53191
Nimbostratus
Addendum: Sorry, I missed something. In looking at what you're trying to accomplish, I think you may be better off with SNMP polling against the appropriate OIDs - the graph data will give you VIP-level SSL TPS ; instead, it's more system-level.
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