Forum Discussion
Philippe_CLOUP
Employee
May 22, 2008paramter for get_performance_graph_csv_statistics
I am trying, using visual basic 2008, to get the performance graphics in an MDI application, to create a simple page with all the perf graphs on a big-ip box.
After initializing the iControl connection to the big-ip, and getting all the performance_reports, i am trying to get the datas for each graph.
when calling the function
SystemStatistics.get_performance_graph_csv_statistics
, i have the following message in the Error List: Value of type 'iControl.SystemStatisticsPerformanceStatisticQuery' cannot be converted to '1-dimensional array of iControl.SystemStatisticsPerformanceStatisticQuery'.
The variable i am trying to pass to the function is as follow:
Dim Query As iControl.SystemStatisticsPerformanceStatisticQuery
Query.object_name = "CPU0"
Query.start_time = 0
Query.end_time = 0
Query.interval = 0
Query.maximum_rows = 0
m_inerfaces.SystemStatistics.get_performance_graph_csv_statistics(Query)
Any idea.
I think i am wrong in the type of "Query" variable.
Thanks.
- Nicolas_Menant
Employee
i'd try something like this: - That's likely how I would do it as well. You need to pass an array. For more examples, look in the SDK under the VB samples. I can't remember if this method is covered, but others like it are.
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