Forum Discussion
iControl Perl- Interfaces and Objects for LocalLB module
Is there any documentation available in DevCentral with references to the different Interfaces and their Objects for LocalLB module, for Perl scripting. I want to know the Interfaces and Objects i need to call in the Perl script for taking some statistics similar to what we get in the "show /ltm pool members" output in tmsh. From some of the existing scripts in DevCentral i got to know i can use the getObjectStatusLists() Pool interface to get these details. i need to print the Node name, IP address, Port number, Availability status, Monitor Status, Session Status, Current connections and Total Connections under each Pool. what are the variables i need to call from this getObjectStatusLists()? Could someone point me to documentation available in DevCentral for the different Interface and Objects for LocalLB module for Perl scripting please?
5 Replies
- Brent_West_7733Historic F5 Account
- Karthik_Kumaran
Nimbostratus
Thanks Brent. I got the list of pool interfaces i can use in my script from the link.
I need help in identifying which 'Pool interfaces' and their 'Return value' i can use to print these details of a Pool, Member name, Ip address, Port, Current Connections, Total Connections, Monitor Status. For instance, using the getPoolList() i can return and print the members' address:port. and inside getPoolList(), i can use the getObjectStatusLists() to print details like availability status, enabled status. (reference : https://devcentral.f5.com/wiki/iControl.DisablingNodeServers.ashx) I would like to know what i can use to return and print the names of members under a pool and current/total connection statistics of them.
- Karthik_Kumaran
Nimbostratus
Thanks Brent. I got the list of pool interfaces i can use in my script from the link.
I need help in identifying which 'Pool interfaces' and their 'Return value' i can use to print these details of a Pool, Member name, Ip address, Port, Current Connections, Total Connections, Monitor Status. For instance, using the getPoolList() i can return and print the members' address:port. and inside getPoolList(), i can use the getObjectStatusLists() to print details like availability status, enabled status. (reference : https://devcentral.f5.com/wiki/iControl.DisablingNodeServers.ashx) I would like to know what i can use to return and print the names of members under a pool and current/total connection statistics of them.
- Brent_West_7733Historic F5 Account
Hopefully this helps. pool member stats method
Here's a list of all the Perl resources (tech articles and samples) on DC.
Hope this helps!
Recent Discussions
Related Content
* 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