Forum Discussion
chandru_14815
Nimbostratus
Jan 13, 2009Icontrol to display nodes, Virtual servers, Pools and all stats
Hi all,
Can you guys please help me to come up with some web based application in .Net to know the status of the Virtual server, IP pools, nodes and there stats.
I...
Sep 22, 2009
Here's a quick little console app I put together for you that queries node addresses, pools, and virtual servers for their bits in, bits out, current connections, availablility and enabled states and then presents it in a csv format.
http://devcentral.f5.com/downloads/codeshare/F5ObjectStatus.zip
Click here
Here's the output on one of my test systems:
PS D:\dev\iControl\F5ObjectStatus\F5ObjectStatus\bin\Debug> .\F5ObjectStatus.exe bigipaddress user pass
TYPE,NAME,BYTES_IN,BYTES_OUT,CONN_CUR,ENABLED,AVAILABLE,DESCRIPTION
NODE,10.10.10.202,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,10.10.10.213,23357,315968,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,10.10.10.148,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,30.30.30.149,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,10.10.10.203,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,20.20.20.102,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,20.20.20.101,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,10.10.10.149,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,10.10.10.212,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,10.10.10.211,7698195,21745230,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,10.10.10.204,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,10.10.10.201,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,10.10.10.121,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,10.10.10.120,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,1.2.3.4,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,1.1.1.3,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
NODE,1.1.1.2,0,0,0,DISABLED,UNKNOWN,Node address does not have service checking enabled
NODE,1.1.1.1,0,0,0,ENABLED,UNKNOWN,Node address does not have service checking enabled
POOL,dc-llix-web,7698195,21745230,0,ENABLED,AVAILABLE,The pool is available
POOL,xpbert-ssh,0,0,0,ENABLED,AVAILABLE,The pool is available
POOL,xpbert-http,0,0,0,ENABLED,AVAILABLE,The pool is available
POOL,dc-web-sandbox,0,0,0,ENABLED,AVAILABLE,The pool is available
POOL,dc-sea-web,0,0,0,ENABLED,AVAILABLE,The pool is available
POOL,dc-sea-media,0,0,0,ENABLED,AVAILABLE,The pool is available
POOL,catbert-ssh,0,0,0,ENABLED,NOT AVAILABILE,The children pool member(s) are down
POOL,dc-llix-media,23357,315968,0,ENABLED,AVAILABLE,The pool is available
POOL,dc-db-sandbox,0,0,0,ENABLED,AVAILABLE,The pool is available
POOL,catbert-http,0,0,0,ENABLED,NOT AVAILABILE,The children pool member(s) are down
VS,dc-llix-web,7691079,21837023,0,ENABLED,AVAILABLE,The virtual server is available
VS,dc-sandbox-db,0,0,0,ENABLED,AVAILABLE,The virtual server is available
VS,dc-sea-web,0,0,0,ENABLED,AVAILABLE,The virtual server is available
VS,dc-sandbox-web,0,0,0,ENABLED,AVAILABLE,The virtual server is available
VS,xpbert-https,0,0,0,ENABLED,AVAILABLE,The virtual server is available
VS,xpbert-ssh,0,0,0,ENABLED,AVAILABLE,The virtual server is available
VS,xpbert-http,0,0,0,ENABLED,AVAILABLE,The virtual server is available
VS,tftp_server_vip,0,0,0,ENABLED,UNKNOWN,The children pool member(s) either don't have
service checking enabled, or service check results are not available yet
The source is included in the .zip so feel free to take a look if you need to add in functionality.
Hope this helps...
-Joe
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