XenDesktop 7 Monitoring from System Center Operations Manager

So a year ago I wrote a blog post regarding Comtrade and monitoring of XenApp enviroments in Operations Manager. This was possible due to a partner called Comtrade which creates management packs and connections to Citrix (Actually most of Citrix products)

  • XenDesktop
  • Netscaler
  • Cloudportal Service Manager
  • XenApp
  • PVS
  • WebInterface

And more are coming in the future that are announced.
Now I wanted to try this feature for monitoring of my XenDesktop 7 enviroment, so I got a evaluation package from ComTrade.


The installation of the package was much more simplified than it was before, it also allowed to automatically import the management packs into SCOM. (If you have any error messages appear or not having adequate rights, go into SCOM console and administration –> Management Packs and import them there.


So basically you have these 3 management packs that need to be imported.
After the management packs are imported you also need to make sure that all the DCC that you are going to monitor are setup with agent proxy, this can be done pr agent under administration.


If we now go into Monitoring pane we can now see all the different views and alterts from the management pack. I didn’t check the reporting feature ill get back to this.


Now after the installation is complete of the management packs you should think that the setup is complete but not quite… Smilefjes
We have to install a specific Comtrade agent on each Citrix server roles.
And Attach a license (NOTE: Im not going to cover how to add the licese here)

But to install the agent you can to this by two ways, if you go into XenDesktop computers view in Monitoring pane in OpsMgr and locate one of the DCC that you want to monitor and on the right pane you have tasks –> Install Comtrade MPXD agent


NOTE: Now we also need to created some dedicated Citrix Run As accounts before we can use this management pack

After you have installed the agent and installed the license it will start to generate information back to operations manager. So after the DCC server starts to publish data back to OpsMgr we will start getting alot of information.


It will give the complete overvie of how the Xendesktop infrastructure is linked together.
It also gives you a good overview of how the state of the solution is at the moment.


This solution also monitors Server OS machines remotely using WinRM. Now if I were to combine this with for instace StoreFront monitoring (When is comes) and Netscaler we can create a complete monitoring solution which covers our entire Citrix infrastructure.

ill get back to a more complete post when I get a hold of the other management packs. Smilefjes

#comtrade, #system-center-operations-manager, #xendesktop-7

Monitoring Citrix with Operations Manager 2012

In the earlier days if you have Operations Manager 2007 you would have MP’s available for the most of the Citrix products. On the installation media on XenApp 6.5 you would for instance have a management pack which you could use in OpsMgr 2007.
Now with 2012, Citrix have said that they would no longer continue with development of these management packs and have pushed the development to a partner called ComTrade.

ComTrade have developed a bunch of Management Packs for most of Citrix’s products including;

* XenApp
* XenDesktop
* XenServer

Now for instance Netscaler is primarily a network device so you have “free” monitoring capabilities via SNMP but for extended monitoring and pro capabilities Citrix actually has a new MP which was released in September.
When regarding the MP’s you can sign up for a free trial at ComTrade’s website here–> http://www.managementproducts.comtrade.com/management_pack/citrix/Pages/default.aspx
I’m going to take a quick walkthrough of how XenApp monitoring is set up and how it works.

After you have received the user information you can start downloading the MP’s
The installation process is pretty straight forward, next. next, finish and the setup will automatically import the management packs.


So if you open the console and check under adminitration –> Management packs
You can now see ComTrade Management Packs appear.
If you go back to the monitoring pane, you will see that there are a bunch of new options under ComTrade XenApp

As well as under reports there a new bunch of new reports available for XenApp.
This will give you a good insight in your Citrix environment, and regarding what applications users actually use. And what kind of performance issues they might be having.
We will take a further look at this later when we are finished setting up the connection to XenApp.

When the installation process is finished you will receive a new start-menu shortcut which allows you to complete the process of setting up the monitoring, you can see a shortcut called “XenApp connector”
Here you have to enter information about the XenApp farm, a farm administrator and password.

Now remember that you have to be a farm administrator if it is to setup correctly. And you have to get a valid license from ComTrade in order to use it. After that you have to set the scom agent as an proxy you can do this under managed agents in the administration pane on SCOM.

After this you have to go to the monitoring pane and find under Comtrade XenApp servers, from there choose the XenApp server you wish to monitor. On the right side you have the option to install a XenApp MP agent, so run this command.
When the installation is done (You can see this in the event viewer) you can see (in a while) that data starts being populated into SCOM.
So Yay! now we have a good and solid XenApp monitoring solution along with the rest of the infrastructure.
Now we can start monitoring SLA on our infrastructure (XenApp, Netscaler, SQL Server, Web-interface)

And as simple as that ( I have no real licenses on my XenApp server, therefore I get an error message each time I logon to the server around the licenses. ) And it also appeared in Operations Manager


#citrix-xenapp-monitoring, #comtrade, #scom-xenapp, #scom-2012