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?