Skip to main content

Additional citrix monitoring

Network modules

We can remotely monitor the different ports that must be operative in our Citrix environment, here's the essential, but in the following catalog has details of all ports used by different components of Citrix 

http://support.citrix.com/content/dam/supportWS/kA460000000Cc9tCAC/Communication_Ports_ Used_By_Citrix.pdf

1. Controller,  Console Director and StoreFront

Ports 80 and/or 443 TCP 

2.- License Server 

Ports 7279, 27000, 8083, 8082 TCP 

It may do this through port monitoring server or network PandoraFMS through local modules from the same server or another we wanted to use for this purpose. 

Windows: 

module_begin
module_name Check port 80
module_type generic_proc
module_tcpcheck IP_Citrix_server
module_port 80
module_end

Linux:

module_begin
module_name Check port 80
module_type generic_proc
module_exec nmap IP_Citrix_server  | grep 80/tcp | awk '{print $2}' | grep open | wc -l
module_end
Monitoring Citrix Events

We can monitor any of the Citrix events writtent to the Event Log.

For them we can use module logevent type. 

module_begin 
module_name Event Citrix 
module_type async_string 
module_source Application  #Source (Application, System, or Security)
module_eventtype Information #Severity: Error, Information,
module_eventcode # Event ID 
module_description 
module_end

Event Codes generated by PVS

XenDesktop Broker LogEvents

XenDesktop VDA LogEvents

XenDesktop MCS LogEvents

Web Interface LogEvents

As an example some of the most important events are listed below. Recall that all these configurations should be added to the agent configuration file (pandora_agent.conf) 

module_begin
module_name EventControllerWrongUserAccount
module_description
module_type async_string
module_logevent module_source Application
module_eventcode 1000
module_end

module_begin
module_name EventBrokerThrottleStartupException
module_descriptio
nmodule_type async_string
module_logevent
module_source Application
module_eventcode 1004
module_end 

module_begin
module_name NoDatabaseConnectivity
module_description
module_type async_string
module_logevent
module_source Application
module_eventcode 1202
module_end 

module_begin
module_name Event_1388
module_description Citrix internal monitoring
module_type async_string
module_logevent
module_source Application
module_eventcode 1388
module_application HCAService
module_end 

module_begin
module_name Event_3621
module_description Citrix cannot connect SQL server
module_type async_string
module_logevent
module_source Application
module_eventtype Error
module_eventcode 3621
module_end 

module_begin
module_name Event_3961
module_description The Data Collector is out of memory, and the Dynamic Store data might be out of sync. Please elect a new Data Collector and make sure you have enough memory on the new Data Collector
module_type async_string
module_logevent
module_source System
module_eventcode 3961
module_end 

module_begin
module_name Event_5774
module_description Server goes to grace period (Not enough licences)
module_type async_string
module_logevent
module_source system
module_eventtype Error
module_eventcode 5774
module_application MetaFrame
module_end 

module_begin
module_name Event_9014
module_description Invalid licence
module_type async_string
module_logevent
module_source system
module_eventtype Error
module_eventcode 9014
module_application MetaFrame
module_end