Monitor servers and applications

Contents 

About monitoring

The Monitoring tab, under Manage, gives you access to Citrix Smart Tools' comprehensive server and application monitoring feature. Monitoring provides you deep visibility into the performance of critical system components and lets you create alerts to notify when trigger conditions occur. You can enable monitoring for key system and application metrics, including CPU, Disk, Memory, Network, Processes, IO Stats, Databases (MySQL, PostreSQL, Mongo), Web Servers (Apache, Nginx), Load Balancers (HAProxy, Pound), and more. You can also create your own custom metric groups.

You can create alerts for your metrics by defining trigger conditions and the respective actions to be taken, such as sending notifications (email, SMS), generating API calls through Web Hooks, and running alert-based scripts.

You can track the performance of any enabled metric (CPU, Disk, Memory, Network, Database, Web Server, etc.) using Citrix Smart Tools's high-resolution color graphs.

Back to top

View server monitoring graphs

  1. From the Deployments page, move the pointer over the deployment you monitor and click Details.
  2. Click the Monitoring tab. Graphs for all the enabled metrics appear. 
  3. Scroll down to view the full set of graphs. Alternatively, you can click the Filter box to view your graphs by Keyword, Time, Category, or Metric Type. You can select or deselect metrics to define which metric graphs need to be displayed.
  4. (Optional) To zoom-in click and drag the cursor over a specific area of the graph. To zoom-out, click anywhere on the zoomed-in graph.
  5. (Optional) To hide/show a specific metric in any graph window click on the name of the metric below the graph window.

Back to top

About metrics

Before you monitor server metrics, you must enable them in the Metrics Manager. By default, Citrix Smart Tools enables a number of System Metrics, including CPU, Disk Usage, I/O Stats, Network, Physical Memory, and Processes. You can also enable monitoring for a variety of application metrics, including Database, Web Server, Load Balancer, Infrastructure, Exchange server, and so on.

Back to top

System and application metrics

Citrix Smart Tools lets you enable monitoring for a variety of system and application metrics, including:

System metrics

  • CPU: Select the CPU metric to enable monitoring of data related to CPU Load, including 1-, 5-, and 15-minute rolling CPU load averages. Citrix Smart Tools also provides CPU metrics for Windows machines, including Processor Utilization, DPC Time, Privileged Time, User Time, Interrupts, Queue Length, Thread Objects, System Calls, and more.
  • Disk Usage: Select the Disk Usage metric to enable monitoring of data related to disk usage. This includes the amount and/or percentage of free and used Disk space.
  • General System: Select the General System metric to enable monitoring of data related to system uptime (how long a machine is running). This includes uptime, availability time per hour, and availability percentage. After machine reboot, the uptime value starts from "0".
  • IO Statistics: Select the IO Stats metric to enable monitoring of data related to the speed of data input and output from disk. This includes Disk Reads and Writes (operations per second (ops) and sectors per second (sps)).
  • Smart Tools Agent: Select the Citrix Smart Tools Agent metric to enable monitoring of data related to the performance of the Citrix Smart Tools agent (connector) and monitor daemon (monitord). This includes Connector CPU load, Connector physical memory, and Connector virtual memory; and Monitord CPU load, Monitord physical memory, and Monitord virtual memory.
  • Network: Select the Network metric to enable monitoring of data related to the performance of your server's network connection, including network interface throughput and error rates.
  • Physical Memory: Select the Physical Memory metric to enable monitoring of data related to Physical Memory, including the amount of Total memory, Available memory, Free memory, Cached memory, Buffer, and Swap percentage used.
  • Processes: Select the Processes metric to enable monitoring of data related to processes currently running on your system, including total number of Processes, total number of Running Processes, number of Sleeping Processes, and number of Zombie Processes.

Database metrics

Citrix Smart Tools provides monitoring with alerts for Linux and Windows database applications. Note that you may need to input your database application access credentials (username, password, etc.) to enable collection of metrics data.

  • Memcached: A high-performance, distributed memory object caching system which accelerates dynamic Web applications by reducing database load. Citrix Smart Tools tracks a variety of Memcached metrics, including Uptime, Command Sets/Gets/Deletes and Flushes, Get Hits/Misses, Increase Hits/Misses, Decrease Hits/Misses, CAS Hits/Misses/Badval, Authentication Commands/Errors, Bytes Read/Written, Items, Total Items (Cummulative), Reclaimed Items, Evictions and more.
  • PostgreSQL: An open-source object-relational database management system (ORDBMS) available for Linux, WIndows, and other platforms. Citrix Smart Tools lets you monitor and create alerts for several PostgreSQL database metrics, such as Transactions, Tuples, Connections, Uptime, and more.
  • MySQL: An open-source relational database management system (RDBMS) used widely with Content Management Systems (CMS) such as WordPress, Joomla, Drupal, Magento, phpBB, etc. and other applications built on the LAMP (Linux, Apache, MySQL, PHP) software stack. Citrix Smart Tools lets you monitor and create alerts for several MySQL database metrics, including Threads, Queries,Tables, and Uptime.
  • MSSQL: A relational database management system produced by Microsoft. The program is frequently used with Windows-based web applications such as ASP, ASP.net, etc. and is available for multiple versions of Windows. Citrix Smart Tools lets you monitor a variety of MSSQL database and server metrics including Connections, Requests, Compilations, Recompilations, Memory, CPU Usage, Disk IO, and more.
  • Mongo DB: An open-source NoSQL DBMS, which uses a document-oriented data model, BSON (Binary JSON), rather than relational database tables. To help you optimize the performance of your database, Citrix Smart Tools tracks a variety of Mongo DB server status metrics, including Memory bits and Resident Memory, Number of Connections (current, available, total active clients), Index Counters (accesses, hits, misses), Network Requests, Inserts, Queries, Updates, Deletes, Get mores, Read, Writes, Removes, and much more.

Web server metrics

Citrix Smart Tools provides monitoring with alerts for Linux and Windows web servers. Note that in some cases you must provide credentials (i.e., username, password, etc.) to enable collection of metric data.

  • Nginx: An open-source web server and reverse proxy server for HTTP, POP 3, and IMAP protocols. The program runs on Linux, Windows and other platforms and features a high-performance asynchronous architecture that makes it suitable for load balancing server clusters. Citrix Smart Tools lets you monitor and create alerts for several Nginx metrics, including Connections, Requests, Waiting, Writing, and Uptime.
  • Apache: An open-source HTTP web server for Linux, Windows, and other platforms. Apache's security features (SSL), modular extensibility, and support for server-side scripting (Perl, PHP) and dynamic content (CGI), make it the most popular web server in use. The program is used by many web applications built on the LAMP (Linux, Apache, MySQL, PHP) software stack. You can monitor and create threshold-based alerts for Apache metrics, including Requests, Response Time, DNS, Logging, Uptime, and more.
  • IIS: IIS (Internet Information Server) is a web server application produced by Microsoft. The program supports HTTP, HTTPS, FTP, FTPS, SMTP, and NNTP protocols and is designed for use with most versions of Windows. Citrix Smart Tools lets you monitor a variety of IIS metrics, including ASP Requests and Transactions, Memory, Processor, Logical Disk (e.g., C:\), Physical Disk, Thread, System, Web Service, and WWW Service Cache.

Load balancer metrics

HA Proxy: A high-availability TCP/HTTP proxy used for load balancing high-volume web sites. Citrix Smart Tools tracks a variety of HAProxy metrics, including Current and Max Queue; Current, Max, and Total Sessions, Bytes In/Out, Denied Resp, Errors (Conn/Resp), Warning (Retr/Redis), Status, Weight, and Session Rate (Current and Max).

Infrastructure metrics

DHCP Server: A network protocol that assigns unique IP addresses to devices (such as computers) on a network, then releases and re-assigns these addresses as devices leave and re-join the network. When a DHCP client joins the network, it sends out a request for an IP address, which is routed to a DHCP server. The DHCP server then "leases" an IP address (from a pre-configured address pool) to the client for a set time period. Citrix Smart Tools collects data for several DHCP server performance metrics, including queue lengths, packet rates, message rates, and more. 

Exchange metrics

Microsoft Exchange: A popular client-server messaging system that works in conjunction with Microsoft Outlook to provide email, voicemail, IM, calendar, contacts, unified voice/email messaging, data sharing, archiving, and other services, either on-premise or online via web browser or mobile device.

Citrix Smart Tools supports monitoring with alerts of metrics data for components of Exchange Server, including Exchange CAS (Client Access Server), Mailbox, Transport, Unified Messaging, and Exchange Services. 

Custom metrics

Citrix Smart Tools lets you create your own custom metrics to monitor your servers and applications. You can create custom metrics to monitor a wide variety of activities, including checking ports, processes, logs, uptime, and much more. You can also create custom metrics that use Linux/Windows scripts to collect data or use your own custom scripts. In addition, you can tailor your metrics for individual servers or server groups as needed.

Custom Metrics give you the ability to monitor system performance and setup alert protection according to the specific needs of your IT organization. Once you've created a metric, you can use Citrix Smart Tools's server and application monitoring features to view Graphs; create threshold-based Alerts; receive notifications through email, SMS; and define Web Hooks for event-based API integration, run alert-based scripts for self-healing and much more.

For more information on how to create and manage custom metrics, see the Custom metrics topic.

Back to top

Enable metrics

By default, Citrix Smart Tools enables a number of System Metrics, including CPU, Disk Usage, I/O Stats, Network, Processes, Physical Memory, and Processes. You can also enable monitoring for a variety of application metrics, including Database, Web Server, Load Balancer, Infrastructure, Exchange server, and so on.

To enable monitoring of metrics:

  1. From the Deployments page, move the pointer over the deployment you monitor and click Details.
  2. Click Monitoring.
  3. Click the name of the server for which you want to enable metrics.
  4. Move the pointer under the Monitoring tab and click Configure. If Monitoring is not enabled, the Enable Monitoring prompt appears. Click Enable.
  5. Click View Existing Information. The Metric Manager page appears listing all the available metric groups. By default, the System metric group appears with the list of available applications. To view app details, click the greater than symbol (>) near the app name. The metric items (type of data collected) associated with the app are displayed.
  6. Click the metric group under which you want to enable metrics. For example, click Database, Web Servers, or other metric groups as you prefer.
  7. Select the apps you want to enable. For example, you can enable MySQL, PostgreSQL, and other apps under the Database metric group. Make sure to enter and save your credentials (username, password, etc.) and configuration parameters wherever required.

The monitoring for the selected metrics is enabled. You can now monitor performance, create alerts, set up web hooks, view detailed graphs, and much more for each enabled metric.

You can also create and enable custom metrics. See Custom metrics topic for more information. For more information on alerts, see Manage alerts topic.

Back to top

0 Comments