This article describes how to monitor NetScaler MAS resource consumption.
NetScaler Management and Analytics System is a single unified solution that helps administrators perform various tasks such as infrastructure management, application management, orchestration, and gives complete visibility and analytics for HTTP/ICA traffic. As MAS supports multiple use cases, it itself also consumes certain amount of resources in terms of CPU, Memory, Disk.
Administrators may want to proactively monitor the MAS resource consumption to understand whether the usage numbers are well in control and as expected. They may also want to schedule export of such reports on a daily basis so that MAS can send these statistics to them via email without them having to login to MAS UI. MAS supports this need.
Steps to monitor MAS resource consumption using MAS UI:
1. Login to MAS GUI and navigate to System module.
2. Under system module, click on statistics to see the MAS CPU usage, MAS memory usage and MAS disk usage.
To export the report, click on the button at the right most area of the screen as shown in screenshot below. Export formats supported are PDF, JPEG, PNG, CSV.
3. To schedule the export of the report via email, click on the ‘schedule report’ tab and fill in the mandatory details such as description, format, recurrence, time, email distribution list.
You can also monitor resource consumption using MAS NITRO API.
http://<MAS_IP>/nitro/v1/config/mps_health
{ "errorcode": 0, "message": "Done", "operation": "get", "resourceType": "mps_health", "username": "nsroot", "tenant_name": "Owner", "resourceName": "", "mps_health": [ { "disks_usage": [{ "free_space": "97630326784", "parent_name": "mps_health", "disk_usage": "11.73", "used_space":"12971671552", "parent_id": "e28b9b1b-3a05-4d3a-9899-3015b9d6f78f", "disk_name": "ad0","total_space": "120219559936", "disk_partition": "\/dev\/ad0s1a \/dev\/ad0s1d \/dev\/ad0s1e","disk_slice": "\/dev\/ad0s1", "id": "3365b913-d599-4c27-9816-f88fb765ac10", "disk_capacity":"128849018880" } ], "memory_total": "8854175744", "disk_total_capacity": "128849018880","disk_usage": "11.73", "disk_total": "120219559936", "memory_usage": "45.13", "disk_free":"97630326784", "page_size": "4096", "node_id": "", "memory_free": "4858327040", "cpu_usage":"3.21", "id": "e28b9b1b-3a05-4d3a-9899-3015b9d6f78f", "disk_used": "12971671552" } ] }
To explore the all the features that MAS offers, you may download the NetScaler MAS for free at
https://www.citrix.com/downloads/netscaler-mas.html