Install and configure the Content Pack for Monitoring Citrix
Perform the following high-level steps to configure the Content Pack for Monitoring Citrix:
- Install the Add-on for the Content Pack for Monitoring Citrix
- Install the Content Pack for Monitoring Citrix
- Import Citrix services and entities
- Review and tune KPI base searches
- Review and tune KPI thresholds
Prerequisites
Prerequisite | Description |
---|---|
Install Citrix XenDesktop add-ons | The saved searches in this content pack depend on data from two Citrix XenDesktop technical add-ons: the XenDesktop brokers and the XenDesktop VDAs. See Data requirements for the Content Pack for Monitoring Citrix. For detailed installation instructions, see Template for Citrix XenDesktop 7 Installation on GitHub. |
Back up your environment | Create a full backup of your ITSI environment in case you need to uninstall the content pack later. For more information, see Create a full backup in the Administration Manual. |
Install the Add-on for the Content Pack for Monitoring Citrix
Download and install the Add-on for the Content Pack for Monitoring Citrix from Splunkbase. The add-on provides the saved searches required to import Citrix services and entities. You must install the add-on prior to installing the content pack, otherwise the installation fails.
Install the content pack
The Content Pack for Monitoring Citrix is automatically available for installation once you have installed the Splunk App for Content Packs on the search head with ITSI 4.9.0 or later. If you are using ITSI version 4.8.x or lower, then you need to install the content pack using backup and restore functionality provided by ITSI. For more information, see Install the content pack on ITSI version 4.8 and earlier.
Install the content pack on ITSI version 4.9 or later
Perform the following steps to install the Content Pack for Monitoring Citrix from the Data Integrations page on ITSI version 4.9.x or later:
- From the ITSI main menu, click Configuration > Data Integrations.
- Select Add content packs or Add structure to your data depending on your version of ITSI.
- Select the Monitoring Citrix content pack.
- Review what's included in the content pack and then click Proceed.
- Configure the following settings:
Setting Description Choose which objects to install For a first-time installation, select the items you want to install and deselect any you're not interested in.
For an upgrade, the installer identifies which objects from the content pack are new and which ones already exist in your environment from a previous installation. You can selectively choose which objects to install from the new version, or install them all.Choose a conflict resolution rule for the objects you install For upgrades or subsequent installs, decide what happens to duplicate objects introduced from the content pack. Choose from the following options: - Install as new - Objects are installed and any existing identical objects in your environment remain intact.
- Replace existing - Existing identical objects are replaced with those from the new installation. Any changes you previously made to these objects are overwritten.
Import as enabled Select whether to install objects as enabled or to leave them in their original state. It's recommended that you import objects as disabled to ensure your environment doesn't break from the addition of new content.
This setting only applies to services, correlation searches, and aggregation policies. All other objects such as KPI base searches and saved searches are installed in their original state regardless of which option you choose.Add a prefix to your new objects Optionally, append a custom prefix to each object installed from the content pack. For example, you might prefix your objects with CP-
to indicate they came from a content pack. This option can help you locate and manage the objects post-install.Backfill service KPIs Optionally backfill your ITSI environment with the previous seven days of KPI data. Consider enabling backfill if you want to configure adaptive thresholding and Predictive Analytics for the new services. This setting only applies to KPIs and not service health scores. - When you're satisfied with your selections, click Install selected.
- Click Install to confirm the installation. When the installation completes you can view all objects that were successfully installed in your environment. A green check mark in the main Content Library list indicates which content packs you've already installed.
Install the content pack through the REST API
On ITSI version 4.8.x you can use the itoa_interface/content_pack endpoint to install content packs through the ITSI REST API. The endpoint includes GET operations to fetch versioning information and preview the contents of the content pack, and a POST operation to install content packs.
Install the content pack on ITSI version 4.8 or earlier
If you're on ITSI version 4.8.0 or lower, perform the following steps to install the content pack:
- Download the following ITSI backup file: BACKUP-CP-CITRIX-1.0.0.zip.
- On your ITSI search head, create a restore job and upload the backup file. For instructions, see Restore from a backup zip file.
- After the restore job completes, confirm that the objects included in the content pack are restored to your environment.
Import Citrix services and entities
Import the following Citrix application and infrastructure components as ITSI services and entities:
Import StoreFront entities
- Within ITSI, go to Configuration > Entities.
- Click Create Entity > Import from Search.
- Enter the following ad hoc search:
| savedsearch TA-ITSI-CITRIX-XD7-Citrix_Storefront_Entity_Importer
- Change the time range to Last 7 days and click the search icon.
- Review the search results, then click Next.
- Specify the following columns:
Column Name Import Column As IP Entity Alias SiteName Entity Information Field host Entity Alias web_server Entity Alias CitrixRole Entity Information Field Tmp_entity Entity Title - Click Import to import your StoreFront entities.
Import StoreFront services
- Within ITSI, go to Configuration > Services.
- Click Create Service > Import from Search.
- Enter the following ad hoc search:
| savedsearch TA-ITSI-CITRIX-XD7-Storefront_Service_Importer
- Change the time range to Last 7 days and click the search icon.
- Review the search results, then click Next.
- Specify the following columns:
Column Name Import Column As SiteName Do Not Import ServiceName Service Title ServiceTemplateLink Service Template Link - Click Next.
- Click Citrix XenDesktop Storefront Template and complete the entity rule with SiteName matches SiteName.
- Click Import to import your StoreFronts as services.
Import Gateway entities
- Within ITSI, go to Configuration > Entities.
- Click Create Entity > Import from Search.
- Enter the following ad hoc search:
| savedsearch TA-ITSI-CITRIX-XD7-Gateway_Entity_Importer
- Change the time range to Last 7 days and click the search icon.
- Review the entities in the search results, then click Next.
- Specify the following columns:
Column Name Import Column As GWIP Entity Alias netscaler_name Entity Alias SiteName Entity Information Field ext_ip Entity Alias CitrixRole Entity Information Field Tmp_entity Entity Title - Click Import to import your Gateway entities.
Import Gateway services
- Within ITSI, go to Configuration > Services.
- Click Create Service > Import from Search.
- Enter the following ad hoc search:
| savedsearch TA-ITSI-CITRIX-XD7-Gateway_Service_Importer
- Change the time range to Last 7 days and click the search icon.
- Review the search results, then click Next.
- Specify the following columns:
Column Name Import Column As netscaler_name Do Not Import SiteName Do Not Import ServiceDependency Dependent Services ServiceName Service Title ServiceTemplateLink Service Template Link - Click Next.
- Click Citrix XenDesktop Gateway Template and complete the entity rule with SiteName matches SiteName.
- Click Import to import your Gateway services.
Import delivery controllers
- Within ITSI, go to Configuration > Entities.
- Click Create Entity > Import from Search.
- Enter the following ad hoc search:
| savedsearch TA-ITSI-CITRIX-XD7-Citrix_Sites_By_Controller_Importer
- Change the time range to Last 7 days and click the search icon.
- Review the search results, then click Next.
- Specify the following columns:
Column Name Import Column As MachineName Entity Alias DNSName Entity Alias ControllerVersion Entity Information Field OSType Entity Information Field OSVersion Entity Information Field UUID Entity Alias SiteName Entity Information Field CitrixRole Entity Information Field host Entity Alias tmp_entity Entity Title - Click Import to import your delivery controllers.
Import sites
- Within ITSI, go to Configuration > Services.
- Click Create Service > Import from Search.
- Enter the following ad hoc search:
| savedsearch TA-ITSI-CITRIX-XD7-Citrix_Sites_Importer
- Change the time range to Last 7 days and click the search icon.
- Review the site names in the search results, then click Next.
- Specify the following columns:
Column Name Import Column As SiteName Service Title ServiceDependency Dependent Services ServiceTemplateLink Service Template Link - Click Next.
- Click Citrix XenDesktop Site Template and complete the entity rule with SiteName matches SiteName.
- Click Import to import your sites as services.
Import Delivery Group entities
- Within ITSI, go to Configuration > Entities.
- Click Create Entity > Import from Search.
- Enter the following ad hoc search:
| savedsearch TA-ITSI-CITRIX-XD7-Citrix_Delivery_Group_Service_Entity_Importer
- Change the time range to Last 7 days and click the search icon.
- Review the entities in the search results, then click Next.
- Specify the following columns:
Column Name Import Column As DesktopGroupName Entity Alias DesktopKind Entity Information Field DeliveryType Entity Information Field SiteName Entity Information Field CitrixRole Entity Information Field Tmp_entity Entity Title - Click Import to import your Delivery Group entities.
Import Delivery Group services
- Within ITSI, go to Configuration > Services.
- Click Create Service > Import from Search.
- Enter the following ad hoc search:
| savedsearch TA-ITSI-CITRIX-XD7-Citrix_Delivery_Group_Service_Importer
- Change the time range to Last 7 days and click the search icon.
- Review the services in the search results, then click Next.
- Specify the following columns:
Column Name Import Column As ServiceDependency Dependent Services ServiceTemplateLink Service Template Link ServiceTitle Service Title SiteName Do Not Import - Click Next.
- Click Citrix XenDesktop Delivery Group Template and complete the entity rule with SiteName matches SiteName.
- Click Import to import your Delivery Groups as services.
Import Machine Catalog entities
- Within ITSI, go to Configuration > Entities.
- Click Create Entity > Import from Search.
- Enter the following ad hoc search:
| savedsearch TA-ITSI-CITRIX-XD7-Citrix_Machine_Catalog_Service_Entity_Importer
- Change the time range to Last 7 days and click the search icon.
- Review the entities in the search results, then click Next.
- Specify the following columns:
Column Name Import Column As CatalogName Entity Alias SiteName Entity Information Field AllocationType Entity Information Field DeliveryType Entity Information Field DesktopKind Entity Information Field ZoneName Entity Information Field CitrixRole Entity Information Field tmp_entity Entity Title - Click Import to import your Machine Catalogs as entities.
Import Machine Catalog services
- Within ITSI, go to Configuration > Services.
- Click Create Service > Import from Search.
- Enter the following ad hoc search:
| savedsearch TA-ITSI-CITRIX-XD7-Citrix_Machine_Catalog_Service_Importer
- Change the time range to Last 7 days and click the search icon.
- Review the services in the search results, then click Next.
- Specify the following columns:
Column Name Import Column As ServiceDependency Dependent Services ServiceTemplateLink Service Template Link ServiceTitle Service Title SiteName Do Not Import - Click Next.
- Click Citrix XenDesktop Machine Catalog Template and complete the entity rule with SiteName matches SiteName.
- Click Import to import your Machine Catalogs as services.
Import VDA entities
- Within ITSI, go to Configuration > Entities.
- Click Create Entity > Import from Search.
- Enter the following ad hoc search:
| savedsearch TA-ITSI-CITRIX-XD7-Citrix_VDA_Entity_Importer
- Change the time range to Last 7 days and click the search icon.
- Review the entities in the search results, then click Next.
- Specify the following columns:
Column Name Import Column As MachineName Entity Alias DNSName Entity Alias DesktopGroupName Entity Information Field DesktopKind Entity Information Field IPAddress Entity Alias OSType Entity Information Field OSVersion Entity Information Field SiteName Entity Information Field ZoneName Entity Information Field CatalogName Entity Information Field CitrixRole Entity Information Field tmp_entity Entity Title - Click Import to import your VDAs as entities.
Import VDA Delivery Group services
- Within ITSI, go to Configuration > Services.
- Click Create Service > Import from Search.
- Enter the following ad hoc search:
| savedsearch TA-ITSI-CITRIX-XD7-Citrix_VDA_Delivery_Group_Services_Importer
- Change the time range to Last 7 days and click the search icon.
- Review the services in the search results, then click Next.
- Specify the following columns:
Column Name Import Column As DesktopGroupName Service Title SiteName Do Not Import ServiceDependency Dependent Services ServiceTemplateLink Service Template Link - Click Next.
- Click Citrix XenDesktop VDA Delivery Group Template and complete the following entity rules:
- SiteName matches SiteName
- DesktopGroupName matches DesktopGroupName
- Click Import to import the services.
Import VDA Machine Catalog services
- Within ITSI, go to Configuration > Services.
- Click Create Service > Import from Search.
- Enter the following ad hoc search:
| savedsearch TA-ITSI-CITRIX-XD7-Citrix_VDA_Machine_Catalog_Services_Importer
- Change the time range to Last 7 days and click the search icon.
- Review the services in the search results, then click Next.
- Specify the following columns:
Column Name Import Column As CatalogName Service Title SiteName Do Not Import ServiceDependency Dependent Services ServiceTemplateLink Service Template Link - Click Next.
- Click Citrix XenDesktop VDA Machine Catalog Template and complete the following entity rules:
- SiteName matches SiteName
- CatalogName matches CatalogName
- Click Import to import the services.
Review and tune KPI base searches
Within ITSI, go to Configuration > KPI Base Searches. Review and tune each of the following base searches to run at a frequency matching your data collection interval:
TA-ITSI-CITRIX-XD7-AppCrashHang
TA-ITSI-CITRIX-XD7-DGSessionStats
TA-ITSI-CITRIX-XD7-GatewayStats
TA-ITSI-CITRIX-XD7-MCSessionStats
TA-ITSI-CITRIX-XD7-SessionStats
TA-ITSI-CITRIX-XD7-VDALoad
DA-ITSI-WEBSERVER:ActivityClone
TA-ITSI-CITRIX-XD7-ControllerStats
TA-ITSI-CITRIX-XD7-DeliveryGroupStats
TA-ITSI-CITRIX-XD7-HostVDALogonStats
TA-ITSI-CITRIX-XD7-LaunchFailureStats
TA-ITSI-CITRIX-XD7-LicensingStats
TA-ITSI-CITRIX-XD7-MachineCatalogStats
TA-ITSI-CITRIX-XD7-SiteUserStats
Review and tune KPI thresholds
The KPIs in each service template are tied to the Citrix KPI base searches and have thresholds representing best practices. You must tune these threshold values according to your environment. Use the corresponding linked services to validate your thresholds. For more information, see Configure KPI thresholds in ITSI in the Service Insights manual.
Next steps
Now that your services and entities are configured, it's time to start monitoring your Citrix environment and creating actionable alerts. For more information, see Use the Content Pack for Monitoring Citrix.
Data requirements for the Content Pack for Monitoring Citrix | Use the Content Pack for Monitoring Citrix |
This documentation applies to the following versions of Content Pack for Monitoring Citrix: 1.0.2
Feedback submitted, thanks!