Reminders
Idea

Citrix Environment Monitor

12 months ago
OfflinePaul Byers
Paul Byers
Quick Description: Citrix Plug in or built in system monitor with Active, Performance and passive monitors
Which Product?: WhatsUp Gold
Idea:

Have a built-in Monitor\plugin for Citrix.  It should have multiple types of monitors (Active, Performance, Passive and Other)  The monitors should all poll together as to make a single WMI connection to the server instead of having to connect multiple times.  Also needs the ability to create a baseline to set your thresholds values based on the baseline. As it stands now if even 1/3 of these monitors it would bring the system down

There also needs a built in Dashboard, that is not based on the adding of workspaces.  The Dashboard needs to show possible bottleneck, dataflow and critical servers. I have yet to see a good dashboard for monitoring all of Citrix in a single view. (unfortunately I have yet to see a dashboard that can give that information easily) There also needs to be a way to set alerting if only a given numbers of servers are down.

It would be nice if this could monitor end to end performance of the Citrix environment. 

Monitors needed:

  • Services Monitored  (ability to add/remove services based on when features are provided/Used or version of Citrix used)
    • Citrix Client Network (Client Network)
    • Citrix Diagnostic Facility COM Server
    • Citrix Encryption Service
    • Citrix Health Monitoring And Recovery
    • Citrix Independent Management Architecture
    • Citirx MFCOM Service
    • Citrix Print Manager Service
    • Citrix Services Manager
    • Citirix SMA Service
    • Citrix Streaming Service
    • Citrix Virtual Memory Optimization
    • Citrix WMI Service
    • Citrix XML Server
    • Citrix XTE Server
    • Citirx License Management Console  (License server only)
    • Citirx Licensing WMI   (License server only)
    • Citrix Licensing  (License server only)
  • Availability   (ability to add/remove services based on when features are provided/Used)
    • Port need to be open
      • 445 windows file share
      • 1494
      • 80
      • 443
      • 5000\1521\1433 - database communication depending on Database type(IBM DB2, Oracle, MS SQL)
      • 2512
      • 2513
    • Response time
    • Packet loss
  • Resources
    • CPU
      • Total Usage
    • Memory
      • Usage
    • Disk Space
    • Network Bandwidth
    • Metaframe Server Load -- Custom Load checking Citrix uses to distribute load of users
      • WMI Class: \root\Citrix 
      • WMI Query:   SELECT * FROM MetaFrame_Server_LoadLeve1
      • Item: LoadLevel/100 for percentage of load
  • IMA Networking Monitors (SELECT * FROM Win32_PerfFormattedData_IMAService_CitrixIMANetworking WHERE Name = '_Total')
    • Citrix IMA Networking: Bytes Received/sec (total)
    • Citrix IMA Networking: Bytes Sent/sec (total)
    • Citrix IMA Networking: Network Connections
  • Critical Performance Monitors
    • Active Citrix Sessions
      • SELECT ActiveSessions FROM Win32_PerfFormattedData_TermService_TerminalServices
    • Server Lockedout (button to Enable\Disable Logins via WUG)
      • RegKey:  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\WinStationsDisabled
        • 0 Logins Enabled
        • 1 Logins Disabled
  • Citrix License count Monitor (License server only)
    • WMI Class: \root\CitrixLicensing   WMI Query:  SELECT * FROM Citrix_GT_License_Pool
    • Citrix License Available
      • Total each PooledAvailable item
    • Citrix License Used
      • Total each InUseCount item
    • Total License count
      • Total each Count item
  • Citrix CPU Mgmt Monitors (if enabled -- SELECT * FROM Win32_PerfFormattedData_ctxcpuSched_CitrixCPUUtilizationMgmtUser)
    • Citrix CPU Utilization Mgmt: CPU Entitlement
    • Citrix CPU Utilization Mgmt: CPU Reservation
    • Citrix CPU Utilization Mgmt: CPU Shares
    • Citrix CPU Utilization Mgmt: CPU Usage
    • Citrix CPU Utilization Mgmt: Long-term CPU Usage
  • Secure Ticket Authority (SELECT * FROM Win32_PerfFormattedData_CtxSecGwyTAPerf_SecureTicketAuthority)
    • Secure Ticket Authority: STA Bad Data Request Count
    • Secure Ticket Authority: STA Bad Refresh Request Count
    • Secure Ticket Authority: STA Bad Ticket Request Count
    • Secure Ticket Authority: STA Count of Active Tickets
    • Secure Ticket Authority: STA Good Data Request Count
    • Secure Ticket Authority: STA Good Refresh Request Count
    • Secure Ticket Authority: STA Good Ticket Request Count
    • Secure Ticket Authority: STA Peak All Request Rate
    • Secure Ticket Authority: STA Peak Data Request Rate
    • Secure Ticket Authority: STA Peak Ticket Refresh Rate
    • Secure Ticket Authority: STA Peak Ticket Request Rate
    • Secure Ticket Authority: STA Ticket Timeout Count
  • Citrix ICA Session Monitors (SELECT * FROM Win32_PerfFormattedData_CitrixICA_ICASession WHERE Name = '_Server Total')
    • Input Audio Bandwidth
    • Input Clipboard Bandwidth
    • Input COM 1 Bandwidth
    • Input COM 2 Bandwidth
    • Input COM Bandwidth
    • Input Control Channel Bandwidth
    • Input Drive Bandwidth
    • Input Font Dta Bandwidth
    • Input Licensing Bandwidth
    • Input LPT 1 Bandwidth
    • Input LPT 2 Bandwidth
    • Input Management Bandwidth
    • Input PN Bandwidth
    • Input Printer Bandwidth
    • Input Seamless Bandwidth
    • Input Session Bandwidth
    • Input Session Compression
    • Input Session Line Speed
    • Input SppedScreen Data Channel Bandwidth
    • Input Text Echo Bandwidth
    • Input ThinWire Bandwidth
    • Input VideoFrame Bandwidth
    • Latency - Last Recorded
    • Latency - Session Average
    • Latency - Session Deviation
    • Output Audio Bandwidth
    • Output Clipboard Bandwidth
    • Output COM 1 Bandwidth
    • Output COM 2 Bandwidth
    • Output COM Bandwidth
    • Output COM Bandwidth
    • Output Drive Bandwidth
    • Output Font Data Bandwidth
    • Output Licensing Bandwidth
    • Output LPT 1 Bandwidth
    • Output LPT 2 Bandwidth
    • Output Management Bandwidth
    • Output PN Bandwidth
    • Output Printer Bandwidth
    • Output Seamless Bandwidth
    • Output Session Bandwidth
    • Output Session Compression
    • Output Session Line Speed
    • Output SpeedScreen Data Channel Bandwidth
    • Output Text Echo Bandwidth
    • Output ThinWire Bandwidth
    • Output VideoFrame Bandwidth
  • Citrix Presentation Server Monitors (SELECT * FROM Win32_PerfFormattedData_MetaFrameXP_CitrixMetaFramePresentationServer)
    • Application Enumeration/sec
    • Application Resolution Time (ms)
    • Application Resolutions Failed/sec
    • Application Resolutions/sec
    • DataSTore Connection Failure
    • DataSTore bytes read
    • DataStore bytes read/sec
    • DataStore byes written/sec
    • DataStore reads
    • DataStore reads/sec
    • DataStore writes/sec
    • DynamicStore bytes read/sec
    • DynamicStore bytes written/sec
    • DynamicStore Gateway Update Count
    • DynamicStore Gateway Update, Bytes Sent
    • DynamicStore Query Count
    • DynamicStore Query Request, Bytes Received
    • DynamicStore Query Response, Bytes Sent
    • DynamicStore reads/sec
    • DynamicStore Update Bytes Received
    • DynamicStore Update Packets Received
    • DynamicStore Update Response Bytes Sent
    • DynamicStore wrties/sec
    • Filtered Application Enumerations/sec
    • LocalHostCache bytes read/sec
    • LocalHostCache bytes written/sec
    • LocalHostCach reads/sec
    • LocalHostCache writes/sec
    • Maximum number of XML threads
    • Number of busy XML threads
    • Number of busy XML threads
    • Resolution WorkItem Queue Executing Count
    • Resolution WorkItem Queue Ready Count
    • WorkItem Queue Executing Count
    • WorkIttem Queue Pending Count
    • WorkItem Queue Ready Count
    • Zone Elections
    • Zone Elections Won

 Passive

  • Event log errors (with customized exclusion list)

There are actually to many that need to be triggered on see http://support.citrix.com/proddocs/topic/web-interface-impington/wi-log-messages-event-ids-hardwick.html for a list of some of the event IDs.

If anyone knows of critical event IDs and sources please  post them as well.

Value:  

Single monitor makes a single connection to the Device instead of creating multiple connections via WMI,  This also give you the ability to set monitor and thresholds in a single location without having to add 30 monitors to a single device and configure each separately. 

Having the ability to create a baseline and automatically set your thresholds based on it allows the end user to better understand where their thresholds should be set at for their environment.

A built-in dashboard will give a better single view of the health of the Citrix farm.  Currently trying to filter through multiple custom performance monitors is impossible.  Having a full dashboard also show the dataflow and where the possibility of a bottleneck or issue is occurring.

Having a set alerting to only alerts if multiple servers are down gives the advantage of one server reporting down during off hours without causing a 3 AM call since the system is redundant.

-----
You liked this idea too8 people like this idea.
 
Resolved

0 Resolutions:

5 Replies

OfflineRobin Ingmarsson Robin Ingmarsson said 12 months ago

Nice work so far Paul!

Having some kind of proper citrix monitor would very much be a very valuable feature!

Something that would apply to this kind of monitor with thresholds (and also applies to monitors like SQL monitor and exchange monitor) is a good KB/informational guide on how to determine what values are good/bad.

 A dashboard view for citirx servers with:
Active connections, total licensed used + some other vital informations would also up the feature list/quality of Whatsup Gold product

 

//Robin 

 


Offlinedavid lei david lei said 12 months ago

this is a good idea  Paul!

my customer wanna monitor citrix device now ..

but WUG can not do that whats a pity!

 


OfflinePaul Byers Paul Byers said 12 months ago

Its difficult but it can be done.  You can't monitor everything but you can get the critical items.  I curently monitor:

  • Services Monitored  (ability to add/remove services based on when features are provided/Used or version of Citrix used)
    • Citrix Client Network (Client Network)
    • Citrix Diagnostic Facility COM Server
    • Citrix Encryption Service
    • Citrix Health Monitoring And Recovery
    • Citrix Independent Management Architecture
    • Citirx MFCOM Service
    • Citrix Print Manager Service
    • Citrix Services Manager
    • Citirix SMA Service
    • Citrix Streaming Service
    • Citrix Virtual Memory Optimization
    • Citrix WMI Service
    • Citrix XML Server
    • Citrix XTE Server
    • Citirx License Management Console  (License server only)
    • Citirx Licensing WMI   (License server only)
    • Citrix Licensing  (License server only)
  • Availability   (ability to add/remove services based on when features are provided/Used)
    • Port need to be open
      • 445 windows file share
      • 1494
      • 80
      • 443
      • 5000\1521\1433 - database communication depending on Database type(IBM DB2, Oracle, MS SQL)
      • 2512
      • 2513
    • Response time
    • Packet loss
  • Resources
    • CPU
      • Total Usage
    • Memory
      • Usage
    • Disk Space
    • Network Bandwidth
    • Metaframe Server Load -- Custom Load checking Citrix uses to distribute load of users
      • WMI Class: \root\Citrix 
      • WMI Query:   SELECT * FROM MetaFrame_Server_LoadLeve1
      • Item: LoadLevel/100 for percentage of load
  • IMA Networking Monitors (SELECT * FROM Win32_PerfFormattedData_IMAService_CitrixIMANetworking WHERE Name = '_Total')
    • Citrix IMA Networking: Bytes Received/sec (total)
    • Citrix IMA Networking: Bytes Sent/sec (total)
    • Citrix IMA Networking: Network Connections
  • Critical Performance Monitors
    • Active Citrix Sessions
      • SELECT ActiveSessions FROM Win32_PerfFormattedData_TermService_TerminalServices
    • Server Lockedout (button to Enable\Disable Logins via WUG)
      • RegKey:  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\WinStationsDisabled
        • 0 Logins Enabled
        • 1 Logins Disabled
  • Citrix License count Monitor (License server only)
    • WMI Class: \root\CitrixLicensing   WMI Query:  SELECT * FROM Citrix_GT_License_Pool
    • Citrix License Available
      • Total each PooledAvailable item
    • Citrix License Used
      • Total each InUseCount item
    • Total License count
      • Total each Count item

OfflineScott Stumpf Scott Stumpf said 11 months ago

Have to agree this is a good idea.

Currently monitoring citrix server via port 1494 with an expect "ICA" this ensures the users can use the server though no stats.


OfflineRene Delbe Rene Delbe said 5 weeks ago

Hi
Is someone able to create an APM profile based on this?


Would you like to comment?

You must be a member. Sign In if you are already a member.

  • 2,280 views
  • 1 version
  • 5 replies
  • 5 followers
     
Post Date:
May 1, 2012
Posted By:
Paul Byers
Search this area

About this forum

  • 28,572 views
  • 570 topics
  • 21 followers
     

Viewed 2,280 times