Forum Discussion

K-Dubb's avatar
K-Dubb
Icon for Nimbostratus rankNimbostratus
Jun 10, 2011

Pool node status

Is there a way to see the status of the page below externally from the F5 management page?

 

 

 

/tmui/Control/jspmap/tmui/locallb/pool/stats.jsp

 

 

I would like to be able at a glance see what pool members are down without having to login to the BIGIP. I have email alerts setup too, but those only send one down and that is it. They can easily be missed.

 

 

 

I have a dashboard that is used to look at status of other items in the infrastructure, and it would be nice to either incorporate the page above into it, or have a script or something that checks the pool status.

 

 

Thanks for any help!

 

4 Replies

  • Hi,

     

     

    I don't think there is a simple, F5-supported way to give unauthenticated access to just the pool stats page. However, you could create a guest login and use that. In the upcoming v11, you have the option of not enforcing the GUI's idle timeout on the dashboard using a checkbox under system>>preferences:

     

     

    Enforce Idle Timeout While Viewing The Dashboard

     

     

    If that doesn't work for you, you could modify one of these examples:

     

     

    iControl-based solutions which allow programmatic access to the BIG-IP

     

    http://devcentral.f5.com/wiki/default.aspx/iControl/codeshare - search for "status"

     

    http://devcentral.f5.com/wiki/default.aspx/iControl/BigipBlogging.html

     

     

    iRule based solutions which use an LTM virtual server to get the status:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/codeshare - search for "status"

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/Pool_Member_Status_Page_on_a_Virtual_Server.html

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/Current_Pool_Member_status.html

     

     

    Aaron
  • if u'd like to have stats, wondering why snmp polling isn't usable.
  • K-Dubb's avatar
    K-Dubb
    Icon for Nimbostratus rankNimbostratus
    Posted By hoolio on 06/10/2011 03:53 PM

     

    Hi,

     

     

    I don't think there is a simple, F5-supported way to give unauthenticated access to just the pool stats page. However, you could create a guest login and use that. In the upcoming v11, you have the option of not enforcing the GUI's idle timeout on the dashboard using a checkbox under system>>preferences:

     

     

    Enforce Idle Timeout While Viewing The Dashboard

     

     

    If that doesn't work for you, you could modify one of these examples:

     

     

    iControl-based solutions which allow programmatic access to the BIG-IP

     

    http://devcentral.f5.com/wiki/default.aspx/iControl/codeshare - search for "status"

     

    http://devcentral.f5.com/wiki/default.aspx/iControl/BigipBlogging.html

     

     

    iRule based solutions which use an LTM virtual server to get the status:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/codeshare - search for "status"

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/Pool_Member_Status_Page_on_a_Virtual_Server.html

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/Current_Pool_Member_status.html

     

     

    Aaron

     

    Hi Aaron,

     

     

    Thanks for your response. YOu have given me some good options here. I am interested in

     

    http://devcentral.f5.com/wiki/default.aspx/iControl/pyControlQuickPoolStatus.html as from the description it seems it will pull back everything I need.

     

     

     

    I cannot seem to get it to work on a windows machine. I get this error:

     

     

    C:\Scripts>check.py

     

    Traceback (most recent call last):

     

    File "C:\Scripts\check.py", line 1,

     

    in import pycontrol.pyControl as pyControl

     

    ImportError: No module named pycontrol.pyControl

     

     

    Perhaps I am not running it right, but I took the first box from that page and saved it as a .py file, and also saved the pool_status.py script in the same directory. I do have python installed on this server.

     

     

    As for the powershell option, how exactly do I call that?

     

     

     

     

  • for the python script, you need python, the suds module, and the pycontrol module.