Forum Discussion

Karthik_Kumaran's avatar
Karthik_Kumaran
Icon for Nimbostratus rankNimbostratus
Aug 19, 2014

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

  • 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.

     

  • 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.