This post has already been read 31297 times!
I have been working with Citrix for quite some time now and have always been looking for an effective dashboard that could display a current snapshot of whats happening on the farm at any point in time. I wanted a simple interface that could alert you of any critical errors that may me happening. Something to allow you to be more pro-active rather than re-active.
After looking for some time I found scripts that looked at bits and pages that displayed other bits but nothing (for free) that gave you a good overview. So, I decided to write something myself.
You can use this tool for free, distribute it as you like, e-mail it, blog about it, basically do whatever you like. I would only ask that you give me credit where due and also comment and request new features. This is by no means finished but it is a good starting point and should give you some useful information to start with.
I will supply you with all the files and instructions on how to get it up and running for your farm.
Click HERE to download the files required
Currently it supports XenApp 6 and XenApp 6.5 Farms.
- You will need to run the scheduled task as a farm administrator
- You will need to run the power shell scheduled task on a Data Collector
- You need a web server that is accessable from the data collector to upload the data collection output files
- The web server must have asp installed
Setting it up
As previously mentioned – you must have IIS installed and have the ASP function enabled. Once this is done create a new directory in the wwwroot folder called monitoring and copy the following files into that directory (all the files are in the attached zip file)
Once these files are in the new directory you will need to open IIS and create a new Virtual Directory. When the Virtual Directory is created open the default documents for the new directory and set the default document to index.asp
On the XenApp Data Collector log in as a XenApp admin and create a new directory in the root of C called monitoring.
Copy the following 2 files from the attached zip file into the new directory
Edit the monitoring.ini file and set the following fields as appropriate.
- LoadEval – The Default Load Evaluator used in your estate
- Company – Your Company Name
- LogoFile – your Company Logo File ie: logo.jpg (This will need to be copied into the same directory as index.asp
- OutPutPath – The full path to the index.asp file in UNC format ie: \\server\c$\iNetPub\wwwroot\monitoring
- UpTime – The number of days your servers can go without a reboot before they start alerting
- SRPort – The Session Reliability Port Used
- Good – The RGB Colour code for good status servers ie: #66cc66 for Green (include the #)
- Bad – The RGB Colour code for bad status servers ie: #cc0000 for Red (include the #)
Once you have set these you should be able to run the powershell script and it will populate the web page. I normally set this up on 2 Data Collectors at different intervals to provide some fail over.
If your powershell will not run the script type in the following command to enable unrestricted script access.
That should be it – please comment and please share – the more people using it the better it will become as I can fix bugs, improve functions etc. Feel free to donate any code you want for additional extras.